void OCI8Connection::connect
(
$dsninfo,
$flags = 0
)
|
Connect to a database and log in as the specified user.
Implements Connection. |
OCI8Connection::close ( ) |
Implements Connection. |
OCI8Connection::executeQuery
(
$sql,
$fetchmode = null
)
|
Implements Connection. |
OCI8Connection::executeUpdate ( $sql ) |
Implements Connection. |
OCI8Connection::commit ( ) |
Commit the current transaction. Implements Connection. |
void OCI8Connection::rollback ( ) |
Roll back (undo) the current transaction.
Implements Connection. |
int OCI8Connection::getUpdateCount ( ) |
Gets the number of rows affected by the data manipulation query.
Implements Connection. |
void OCI8Connection::applyLimit ( & $sql, $offset, $limit ) |
Build Oracle-style query with limit or offset. If the original SQL is in variable: query then the requlting SQL looks like this: SELECT B.* FROM ( SELECT A.*, rownum as TORQUE$ROWNUM FROM ( query ) A ) B WHERE B.TORQUE$ROWNUM > offset AND B.TORQUE$ROWNUM <= offset + limit
Reimplemented from ConnectionCommon. |
OCI8Connection::nativeError
(
$result = null
)
|
Get the native Oracle Error Message as a string.
|
OCI8Connection::getDatabaseInfo ( ) |
Implements Connection. |
OCI8Connection::getIdGenerator ( ) |
Implements Connection. |
OCI8Connection::prepareStatement ( $sql ) |
Oracle supports native prepared statements, but the OCIParse call is actually called by the OCI8PreparedStatement class because some additional SQL processing may be necessary (e.g. to apply limit).
Implements Connection. |
OCI8Connection::prepareCall ( $sql ) |
Reimplemented from ConnectionCommon. |
OCI8Connection::createStatement ( ) |
Implements Connection. |
OCI8Connection::$lastStmt = null [protected]
|
|
This file is part of the Creole[php5] library.
Copyright © 2004 Hans Lellelid |   |
Creole[php5] CVS
|