.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.42) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Jifty::DBI::Handle::Oracle 3pm" .TH Jifty::DBI::Handle::Oracle 3pm "2022-06-15" "perl v5.34.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" .Vb 1 \& Jifty::DBI::Handle::Oracle \- An oracle specific Handle object .Ve .SH "SYNOPSIS" .IX Header "SYNOPSIS" .SH "DESCRIPTION" .IX Header "DESCRIPTION" This module provides a subclass of Jifty::DBI::Handle that compensates for some of the idiosyncrasies of Oracle. .SH "METHODS" .IX Header "METHODS" .SS "connect \s-1PARAMHASH:\s0 Driver, Database, Host, User, Password" .IX Subsection "connect PARAMHASH: Driver, Database, Host, User, Password" Takes a paramhash and connects to your \s-1DBI\s0 datasource. .SS "database_version" .IX Subsection "database_version" Returns value of \s-1ORA_OCI\s0 constant, see \*(L"Constants\*(R" in DBD::Oracle. .SS "insert" .IX Subsection "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. .SS "build_dsn \s-1PARAMHASH\s0" .IX Subsection "build_dsn PARAMHASH" Takes a bunch of parameters: .PP Required: Driver, Database or Host/SID, Optional: Port and RequireSSL .PP Builds a dsn suitable for an Oracle \s-1DBI\s0 connection .SS "blob_params column_NAME column_type" .IX Subsection "blob_params column_NAME column_type" Returns a hash ref for the bind_param call to identify \s-1BLOB\s0 types used by the current database for a particular column type. The current Oracle implementation only supports \s-1ORA_CLOB\s0 types (112). .SS "apply_limits \s-1STATEMENTREF ROWS_PER_PAGE FIRST_ROW\s0" .IX Subsection "apply_limits STATEMENTREF ROWS_PER_PAGE FIRST_ROW" takes an \s-1SQL SELECT\s0 statement and massages it to return \s-1ROWS_PER_PAGE\s0 starting with \s-1FIRST_ROW\s0; .SS "distinct_query \s-1STATEMENTREF\s0" .IX Subsection "distinct_query STATEMENTREF" takes an incomplete \s-1SQL SELECT\s0 statement and massages it to return a \&\s-1DISTINCT\s0 result set. .SH "AUTHOR" .IX Header "AUTHOR" Jesse Vincent, jesse@fsck.com .SH "SEE ALSO" .IX Header "SEE ALSO" Jifty::DBI, Jifty::DBI::Handle, DBD::Oracle