| 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 69]
[ Top ] $string_quoting = array('start' => "'", 'end' => "'", 'escape' => '\\', 'escape_pattern' => '\\')[line 59]
[ Top ] $varchar_max_length = 255[line 71]
[ Top ] Method Detail__construct (Constructor) [line 78]beginTransaction [line 214]
Start a transaction or set a savepoint.
Parameters:
[ Top ]
commit [line 259]
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 391]currID [line 1096]
Returns the current id of a sequence
Parameters:
[ Top ]
disconnect [line 534]
Log out and disconnect from the database.
Parameters:
[ Top ]
errorInfo [line 118]
This method is used to collect information about an error
Parameters:
[ Top ]
escape [line 190]
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 689]
return version information about the server
Parameters:
[ Top ]
lastInsertID [line 1080]
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 1036]
Returns the next free id of a sequence
Parameters:
[ Top ]
prepare [line 815]
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 :[a-zA-Z] and are placeholders which can be set using bindParam() and the query can be send off using the execute() method.
Parameters:
[ Top ]
replace [line 977]
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 REPLACE query just updates its values instead of inserting a new row. 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 313]
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 510]
Set the charset on the current connection
Parameters:
[ Top ]
setTransactionIsolation [line 361]
Set the transacton isolation level.
Parameters:
[ Top ]
_doQuery [line 569]
Execute a query
Parameters:
[ Top ]
_modifyQuery [line 653]
Changes a query string for various DBMS specific reasons
Parameters:
[ Top ]
_skipUserDefinedVariable [line 778]
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 14:57:27 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004. |