| MDB2 |
| [ class tree: MDB2 ] [ index: MDB2 ] [ all elements ] |
|
Packages: MDB2 Classes:
MDB2_BufferedResult_mysqli
Files:MDB2_Driver_Datatype_mysqli MDB2_Driver_Function_mysqli MDB2_Driver_Manager_mysqli MDB2_Driver_mysqli MDB2_Driver_Native_mysqli MDB2_Driver_Reverse_mysqli MDB2_Result_mysqli MDB2_Statement_mysqli |
[ 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 319]
Start a transaction or set a savepoint.
Parameters:
[ Top ]
commit [line 360]
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 552]currID [line 1329]
Returns the current id of a sequence
Parameters:
[ Top ]
databaseExists [line 633]
check if given database name is exists?
Parameters:
[ Top ]
disconnect [line 659]
Log out and disconnect from the database.
Parameters:
[ Top ]
errorInfo [line 183]
This method is used to collect information about an error
Parameters:
[ Top ]
escape [line 295]
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 883]
return version information about the server
Parameters:
[ Top ]
lastInsertID [line 1313]
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 1267]
Returns the next free id of a sequence
Parameters:
[ Top ]
prepare [line 1026]
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 1204]
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 414]
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 591]
Set the charset on the current connection
Parameters:
[ Top ]
setOption [line 167]
set the option for the db class
Parameters:
[ Top ]
setTransactionIsolation [line 462]
Set the transacton isolation level.
Parameters:
[ Top ]
standaloneQuery [line 695]
execute a query as DBA
Parameters:
[ Top ]
_doConnect [line 493]
do the grunt work of the connect
Parameters:
[ Top ]
_doQuery [line 730]
Execute a query
Parameters:
[ Top ]
_modifyQuery [line 832]
Changes a query string for various DBMS specific reasons
Parameters:
[ Top ]
_skipUserDefinedVariable [line 988]
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:17:26 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004. |