GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DBIX::SQLENGINE::DRIVER::PG (3)

.ds Aq ’

NAME

DBIx::SQLEngine::Driver::Pg - Support DBD::Pg

CONTENTS

SYNOPSIS

<B>DBI WrapperB>: Adds methods to a DBI database handle.



  my $sqldb = DBIx::SQLEngine->new( dbi:pg:test );



<B>Portability Subclasses:B> Uses driver’s idioms or emulation.



  $hash_ary = $sqldb->fetch_select(
    table => students
    limit => 5, offset => 10
  );



DESCRIPTION

This package provides a subclass of DBIx::SQLEngine which compensates for Postgres’s idiosyncrasies.

    About Driver Subclasses

You do not need to use this package directly; when you connect to a database, the SQLEngine object is automatically re-blessed in to the appropriate subclass.

    sql_limit



  $sqldb->sql_limit( $limit, $offset, $sql, @params ) : $sql, @params



Adds support for SQL select limit clause.

    do_insert_with_sequence



  $sqldb->do_insert_with_sequence( $sequence_name, %sql_clauses ) : $row_count



Implemented using _seq_do_insert_preinc and seq_increment.

    seq_increment



  $sqldb->seq_increment( $table, $field ) : $new_value



Increments the sequence, and returns the newly allocated value.

    dbms_create_column_types



  $sqldb->dbms_create_column_types () : %column_type_codes



Implemented using Pg’s bytea and serial types.

    dbms_create_column_text_long_type



  $sqldb->dbms_create_column_text_long_type () : $col_type_str



Implemented using Pg’s text type.

    recoverable_query_exceptions



  $sqldb->recoverable_query_exceptions() : @common_error_messages



Provides a list of error messages which represent common communication failures or other incidental errors.

SEE ALSO

See DBIx::SQLEngine for the overall interface and developer documentation.

See DBIx::SQLEngine::Docs::ReadMe for general information about this distribution, including installation and license information.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 SQLENGINE::DRIVER::PG (3) 2004-11-29

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.