| MDB2 |
| [ class tree: MDB2 ] [ index: MDB2 ] [ all elements ] |
|
Packages: MDB2 Classes:
MDB2_BufferedResult_mysql
Files:MDB2_Driver_Datatype_mysql MDB2_Driver_Function_mysql MDB2_Driver_Manager_mysql MDB2_Driver_mysql MDB2_Driver_Native_mysql MDB2_Driver_Reverse_mysql MDB2_Result_mysql MDB2_Statement_mysql |
[ Top ] $start_transaction = false[line 72]
[ Top ] $string_quoting = array('start' => "'", 'end' => "'", 'escape' => '\\', 'escape_pattern' => '\\')[line 60]
[ Top ] $varchar_max_length = 255[line 74]
[ Top ] Method Detail__construct (Constructor) [line 82]beginTransaction [line 318]
Start a transaction or set a savepoint.
Parameters:
[ Top ]
commit [line 363]
Commit the database changes done during a transaction that is in progress or release a savepoint. This function may only be called when auto-committing is disabled, otherwise it will fail. Therefore, a new transaction is implicitly started after committing the pending changes.
Parameters:
[ Top ]
connect [line 559]
Connect to the database
[ Top ]
currID [line 1326]
Returns the current id of a sequence
Parameters:
[ Top ]
databaseExists [line 653]
check if given database name is exists?
Parameters:
[ Top ]
disconnect [line 680]
Log out and disconnect from the database.
Parameters:
[ Top ]
errorInfo [line 182]
This method is used to collect information about an error
Parameters:
[ Top ]
escape [line 294]
Quotes a string so it can be safely used in a query. It will quote the text so it can safely be used within a query.
Parameters:
[ Top ]
getServerVersion [line 892]
return version information about the server
Parameters:
[ Top ]
lastInsertID [line 1310]
Returns the autoincrement ID if supported or $id or fetches the current ID in a sequence called: $table.(empty($field) ? '' : '_'.$field)
Parameters:
[ Top ]
nextID [line 1264]
Returns the next free id of a sequence
Parameters:
[ Top ]
prepare [line 1035]
Prepares a query for multiple execution with execute(). With some database backends, this is emulated. prepare() requires a generic query as string like 'INSERT INTO numbers VALUES(?,?)' or 'INSERT INTO numbers VALUES(:foo,:bar)'. The ? and :name and are placeholders which can be set using bindParam() and the query can be sent off using the execute() method. The allowed format for :name can be set with the 'bindname_format' option.
Parameters:
[ Top ]
replace [line 1201]
Execute a SQL REPLACE query. A REPLACE query is identical to a INSERT query, except that if there is already a row in the table with the same key field values, the old row is deleted before the new row is inserted. The REPLACE type of query does not make part of the SQL standards. Since practically only MySQL implements it natively, this type of query is emulated through this method for other DBMS using standard types of queries inside a transaction to assure the atomicity of the operation.
Parameters:
[ Top ]
rollback [line 417]
Cancel any database changes done during a transaction or since a specific savepoint that is in progress. This function may only be called when auto-committing is disabled, otherwise it will fail. Therefore, a new transaction is implicitly started after canceling the pending changes.
Parameters:
[ Top ]
setCharset [line 613]
Set the charset on the current connection
Parameters:
[ Top ]
setOption [line 166]
set the option for the db class
Parameters:
[ Top ]
setTransactionIsolation [line 465]
Set the transacton isolation level.
Parameters:
[ Top ]
standaloneQuery [line 722]
execute a query as DBA
Parameters:
[ Top ]
_doConnect [line 496]
do the grunt work of the connect
Parameters:
[ Top ]
_doQuery [line 757]
Execute a query
Parameters:
[ Top ]
_modifyQuery [line 841]
Changes a query string for various DBMS specific reasons
Parameters:
[ Top ]
_skipUserDefinedVariable [line 997]
Utility method, used by prepare() to avoid misinterpreting MySQL user defined variables (SELECT @x:=5) for placeholders. Check if the placeholder is a false positive, i.e. if it is an user defined variable instead. If so, skip it and advance the position, otherwise return the current position, which is valid
Parameters:
[ Top ]
Documentation generated on Mon, 11 Mar 2019 15:28:28 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004. |