logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Constructor

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

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

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

       The transformed SQL and args.

perl v5.34.0                                       2022-03-28                  Class::DBI::SQL::Transformer(3pm)

Description

       Class::DBI hooks into the transform_sql() method in Ima::DBI to provide its own SQL extensions.
       Class::DBI::SQL::Transformer does the heavy lifting of these transformations.

Name

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

Synopsis

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

See Also