Class::...sformer(3)

hey bestie! welcome to the Class::DBI::SQL::Transformer(3) page from User Contributed Perl Documentation β€” it’s literally all about transforming SQL, and we’re gonna get into it πŸ’…βœ¨

🌸 NAME 🌸

Class::DBI::SQL::Transformer - Transform SQL

✨ SYNOPSIS ✨

my $trans = $tclass->new($self, $sql, @args);
return $self->SUPER::transform_sql($trans->sql => $trans->args);

πŸ’… DESCRIPTION πŸ’…

okay so here’s the lore 🫢: Class::DBI hooks into the transform_sql() method in Ima::DBI to provide its own SQL extensions. And Class::DBI::SQL::Transformer does the heavy lifting of these transformations. no cap, that’s the whole vibe πŸ”₯

πŸŽ€ CONSTRUCTOR πŸŽ€

πŸ’– new πŸ’–

my $trans = $tclass->new($self, $sql, @args);

Create a fresh new transformer for the SQL and arguments that will be used with the given object (or class). slay ✨

πŸ¦‹ sql / args πŸ¦‹

my $sql = $trans->sql;
my @args = $trans->args;

The transformed SQL and args. iconic πŸ’…


mwah πŸ’‹ cute little sign-off: this footer tea is perl v5.42.0, dated 2011-04-08, and it belongs to the Class::...sformer(3) page. bye bestie! πŸ«ΆπŸ’–

πŸ“¦ where this page comes from