DOKK / manpages / debian 12 / libjifty-dbi-perl / Jifty::DBI::Handle::Pg.3pm.en
Jifty::DBI::Handle::Pg(3pm) User Contributed Perl Documentation Jifty::DBI::Handle::Pg(3pm)

  Jifty::DBI::Handle::Pg - A Postgres specific Handle object

This module provides a subclass of Jifty::DBI::Handle that compensates for some of the idiosyncrasies of Postgres.

connect takes a hashref and passes it off to SUPER::connect; Forces the timezone to GMT, returns a database handle.

Takes a table name as the first argument and assumes that the rest of the arguments are an array of key-value pairs to be inserted.

In case of insert failure, returns a Class::ReturnValue object preloaded with error info

Takes a TABLE name and returns the name of the sequence of the primary key for that table.

Returns a hash ref for the bind_param call to identify BLOB types used by the current database for a particular column type. The current Postgres implementation only supports BYTEA types.

takes an SQL SELECT statement and massages it to return ROWS_PER_PAGE starting with FIRST_ROW;

Takes a column, operator and value. performs the magic necessary to make your database treat this clause as case insensitive.

Returns a column operator value triple.

takes an incomplete SQL SELECT statement and massages it to return a DISTINCT result set.

The canonical true value in Postgres is 't'.

The canonical false value in Postgres is 'f'.

Jifty::DBI, Jifty::DBI::Handle, DBD::Pg

2022-06-15 perl v5.34.0