logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Jifty::DBI::Handle::Oracle - An oracle specific Handle object

Author

       Jesse Vincent, jesse@fsck.com

Description

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

Methods

connectPARAMHASH:Driver,Database,Host,User,Password
       Takes a paramhash and connects to your DBI datasource.

   database_version
       Returns value of ORA_OCI constant, see "Constants" in DBD::Oracle.

   insert
       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.

   build_dsnPARAMHASH
       Takes a bunch of parameters:

       Required: Driver, Database or Host/SID, Optional: Port and RequireSSL

       Builds a dsn suitable for an Oracle DBI connection

   blob_paramscolumn_NAMEcolumn_type
       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 Oracle implementation only supports ORA_CLOB types (112).

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

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

Name

         Jifty::DBI::Handle::Oracle - An oracle specific Handle object

See Also

       Jifty::DBI, Jifty::DBI::Handle, DBD::Oracle

perl v5.34.0                                       2022-06-15                    Jifty::DBI::Handle::Oracle(3pm)

Synopsis

See Also