---
name: "Class::DBI::SQL::Transformer"
section: "3pm"
platform: "linux"
package: "libclass-dbi-perl"
version: "3.0.17-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Class::DBI::SQL::Transformer"
---

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

Transform SQL

## 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

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.
