Class:...er::Pg(3pm)
π NAME π
ok so this is Class::DBI::Loader::Pg β the Postgres implementation of Class::DBI::Loader. bestie, that's it, that's the whole personality. she loads your Postgres tables into Perl classes and she does it flawlessly π
also hi, the man page itself is filed under the name Class:...er::Pg(3pm) (yes the title got squished, we don't talk about it π) and it lives in the User Contributed Perl Documentation section. iconic placement fr.
β¨ SYNOPSIS β¨
here's the whole vibe, no notes:
use Class::DBI::Loader;
# $loader is a Class::DBI::Loader::Pg
my $loader = Class::DBI::Loader->new(
dsn => "dbi:Pg:dbname=dbname",
user => "postgres",
password => "",
namespace => "Data",
);
my $class = $loader->find_class('film'); # $class => Data::Film
my $obj = $class->retrieve(1);
ok so real talk: that $loader you just made? she IS a Class::DBI::Loader::Pg π«Ά and that's the comment right there in the code telling you so, so you know it's true.
πΈ DESCRIPTION πΈ
go read Class::DBI::Loader and Class::DBI::Loader::Generic, that's where the actual lore is π this page is just the Postgres-flavored girlie of the family. she said "my backstory? ask my siblings" π
π¦ SEE ALSO π¦
Class::DBI::Loaderβ the parent vibeClass::DBI::Loader::Genericβ the generic sibling
ok that's the page!! perl v5.36.0, dated 2022-12-07 β shoutout to the version and the date, they showed up and served β ily, go write some classes bestie ππ
π¦ where this page comes from
- debian bookworm: libclass-dbi-loader-perl 0.34-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libclass-dbi-loader-perl 0.34-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libclass-dbi-loader-perl 0.34-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libclass-dbi-loader-perl 0.34-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libclass-dbi-loader-perl 0.34-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms