Class::DBI::SQL::Transformer(3pm)

Class::DBI::SQL::Transformer3pm

Transform sql

Usage

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

Overview

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.

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.

Releases

10 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7–10
  5. 11
  6. 12–13

From libclass-dbi-perl 3.0.17-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.