Autodi...er::DBI(3pm)

πŸ“¦
version 2.14 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu noble

✨ NAME ✨

Autodia::Handler::DBI.pm β€” the AutoDia handler for DBI connections, bestie πŸ’…


🌸 INTRODUCTION 🌸

Okay so picture this: this module literally parses the contents of a database, through a dbi connection, and then builds a diagram out of it. That's it, that's the whole vibe. Database in, pretty diagram out ✨

And it gets registered in the handler lineup like this:

%language_handlers = { .. , dbi => "Autodia::Handler::DBI", .. };

πŸŽ€ CONSTRUCTION METHOD πŸŽ€

You summon it like this:

use Autodia::Handler::DBI;

my $handler = Autodia::Handler::DBI->New(\%Config);

This creates a new handler using the Configuration hash to provide the rules that got selected at the command line. Slay. πŸ‘‘


πŸ¦‹ ACCESS METHODS πŸ¦‹

  • $handler->Parse($connection); β€” where connection includes a full connection string, or a dbi connection string. Feed it the connection, it does the parsing thing 🫢
  • $handler->output(); β€” any arguments you pass? Ignored. Literally ignored. It does not care. πŸ’€

And that's the whole page, fr fr πŸ’– This one's part of the User Contributed Perl Documentation crew, running on perl v5.36.0, dated 2022-11-02 β€” so if you were wondering when this cutie was written down, now you know, no cap πŸŒˆπŸ’…

πŸ“¦ where this page comes from