- or download this
script/stat_create.pl model DB DBIC::Schema DB::Schema create=static
+ dbi:Pg:dbname=stat '' '' '{AutoCommit => 0}'
- or download this
|-- lib
| |-- DB
...
| | | |-- ...
| | | `-- ClassN.pm
| | `-- Schema.pm
- or download this
package DB::Schema::Add;
...
->name(\'(select 10*10 as number)');
1;
- or download this
my ($res) = $c->model('Add')->all;
my $number = $res->number;
- or download this
package DB::Schema::Add;
...
->name(\'(select ?::integer * ?::integer as number)');
1;
- or download this
my ($res) = $c->model('Add')->search({}, {bind => [5, 7]});
my $body = $res->number;