DBIx::C...aLoader(3)

πŸ“¦ version 0.075, in opensuse-leap 16.0

πŸ’… NAME πŸ’…

Okay bestie, welcome to the DBIx::C...aLoader(3) page β€” it lives in the User Contributed Perl Documentation section, and it's all about the Schema Loader Factory:

DBIx::Class::Migration::SchemaLoader β€” Schema Loader Factory ✨


πŸŽ€ SYNOPSIS πŸŽ€

For internal use only

Like, literally internal-only vibes. No cap. πŸ™ˆ


πŸ¦‹ DESCRIPTION πŸ¦‹

So, bestie: often when you're running migrations, you need to auto generate a DBIx::Class::Schema directly from the database that already exists. This class is the one that performs that function. Slay. πŸ’…

There are no end user bits here, but we do expose an %ENV variable that turns on DBIx::Class::Schema::Loader debugging mode. That's lowkey useful because the generated schema will get dumped to STDOUT, which helps you sort out any confusion about your classes and relationships. Iconic debugging behavior, honestly. πŸ”₯

export DBIC_MIGRATION_DEBUG=1

Or run it one time:

DBIC_MIGRATION_DEBUG=1 dbic-migration [command]

🌈 SEE ALSO 🌈

  • DBIx::Class::Migration
  • DBIx::Class::Schema::Loader

Go read those too, iykyk. 🫢


πŸ‘‘ AUTHOR πŸ‘‘

See DBIx::Class::Migration for author information. That's where the author lore lives. ✨


See DBIx::Class::Migration for copyright and license information. All the legal-ish details are chilling over there. πŸŽ€


Signing off with the source tea: this page is from perl v5.42.0, dated 2020-06-03. Mwah πŸ’‹

πŸ“¦ where this page comes from