Located in /db/jDbConnection.class.php (line 23)
The database type name (mysql, pgsql ...)
last executed query
The last error message if any
profile properties used by the connector
the internal connection.
do a connection to the database, using properties of the given profile
begin a transaction. Call it before query, limitQuery, exec
And then commit() or rollback()
validate all queries and close a transaction
enclose the field name
Launch a SQL Query (update, delete..) which doesn't return rows
Check if the current connection has a table prefix set
return the maximum value of the given primary key in a table
return the id value of the last inserted row.
Some driver need a sequence name, so give it at first parameter
Launch a SQL Query with limit parameter, so it returns only a subset of a result
Prefix the given table with the prefix specified in the connection's profile If there's no prefix for the connection's profile, return the table's name unchanged.
prepare a query
Launch a SQL Query which returns rows (typically, a SELECT statement)
Escape and quotes strings.
Escape and quotes strings. if null, will only return the text "NULL"
cancel all queries of a transaction and close the transaction
sets the autocommit state
Notify the changes on autocommit
Drivers may overload this
return a connection identifier or false/null if there is an error
do a disconnection
(no need to do a test on the connection id)
do a query which return nothing
do a query which return a limited number of results
do a query which return results
do the escaping of a string.
you should override it into the driver
ATTR_AUTOCOMMIT
= 0
(line 28)
ATTR_CASE
= 8
(line 36)
ATTR_CLIENT_VERSION
= 5
(line 34)
ATTR_CONNECTION_STATUS
= 7
(line 35)
ATTR_CURSOR
= 10
(line 37)
ATTR_DRIVER_NAME
= 16
(line 40)
ATTR_ERRMODE
= 3
(line 31)
ATTR_ORACLE_NULLS
= 11
(line 38)
ATTR_PERSISTENT
= 12
(line 39)
ATTR_PREFETCH
= 1
(line 29)
ATTR_SERVER_INFO
= 6
(line 33)
ATTR_SERVER_VERSION
= 4
(line 32)
ATTR_TIMEOUT
= 2
(line 30)
CURSOR_FWDONLY
= 0
(line 41)
CURSOR_SCROLL
= 1
(line 42)
FETCH_CLASS
= 8
(line 26)
FETCH_INTO
= 9
(line 27)
FETCH_OBJ
= 5
(line 25)
Documentation generated on Wed, 24 Sep 2014 21:58:28 +0200 by phpDocumentor 1.4.3