MDB2 |
![]() |
[ class tree: MDB2 ] [ index: MDB2 ] [ all elements ] |
![]() |
Packages: MDB2 Classes:
DB
Files:DB_Error DB_result MDB2 MDB2_Datatype_xxx MDB2_Date MDB2_Driver_Common MDB2_Driver_Datatype_Common MDB2_Driver_Datatype_fbsql MDB2_Driver_Datatype_ibase MDB2_Driver_Datatype_mssql MDB2_Driver_Datatype_mysql MDB2_Driver_Datatype_oci8 MDB2_Driver_Datatype_pgsql MDB2_Driver_Datatype_sqlite MDB2_Driver_fbsql MDB2_Driver_ibase MDB2_Driver_Manager_Common MDB2_Driver_Manager_fbsql MDB2_Driver_Manager_ibase MDB2_Driver_Manager_mssql MDB2_Driver_Manager_mysql MDB2_Driver_Manager_oci8 MDB2_Driver_Manager_pgsql MDB2_Driver_Manager_sqlite MDB2_Driver_Manager_xxx MDB2_Driver_mssql MDB2_Driver_mysql MDB2_Driver_Native_fbsql MDB2_Driver_Native_ibase MDB2_Driver_Native_mssql MDB2_Driver_Native_mysql MDB2_Driver_Native_oci8 MDB2_Driver_Native_pgsql MDB2_Driver_Native_sqlite MDB2_Driver_oci8 MDB2_Driver_pgsql MDB2_Driver_querysim MDB2_Driver_Reverse_Common MDB2_Driver_Reverse_fbsql MDB2_Driver_Reverse_ibase MDB2_Driver_Reverse_mssql MDB2_Driver_Reverse_mysql MDB2_Driver_Reverse_oci8 MDB2_Driver_Reverse_pgsql MDB2_Driver_Reverse_sqlite MDB2_Driver_sqlite MDB2_Extended MDB2_Iterator MDB2_Native_xxx MDB2_Reverse_xxx MDB2_Tools_Manager MDB2_xxx
Common.php
Common.php Common.php Date.php Driver_Datatype_skeleton.php Driver_Manager_skeleton.php Driver_Native_skeleton.php Driver_Reverse_skeleton.php Driver_skeleton.php example.php Extended.php fbsql.php fbsql.php fbsql.php fbsql.php fbsql.php ibase.php ibase.php ibase.php ibase.php ibase.php Iterator.php LOB.php Manager.php MDB2.php mssql.php mssql.php mssql.php mssql.php mssql.php mysql.php mysql.php mysql.php mysql.php mysql.php oci8.php oci8.php oci8.php oci8.php oci8.php Parser.php peardb.php peardb_wrapper_example.php pgsql.php pgsql.php pgsql.php pgsql.php pgsql.php querysim.php reverse_engineer_xml_schema.php sqlite.php sqlite.php sqlite.php sqlite.php sqlite.php |
[ Top ] $supported = array()[line 827] list of all supported features of the given driver
[ Top ] Method DetailMDB2_Driver_Common (Constructor) [line 982]affectedRows [line 2106]
returns the affected rows of a query
Overridden in child classes as:
[ Top ]
autoCommit [line 1387]
Define whether database changes done on the database be automatically committed. This function may also implicitly start or end a transaction.
Overridden in child classes as:
Parameters:
[ Top ]
commit [line 1406]
Commit the database changes done during a transaction 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 committing the pending changes.
Overridden in child classes as:
[ Top ]
currID [line 2267]
returns the current id of a sequence
Overridden in child classes as:
Parameters:
[ Top ]
debug [line 1205]
set a debug message
Parameters:
[ Top ]
debugOutput [line 1221]
output debug info
[ Top ]
disconnect [line 1442]
Log out and disconnect from the database.
[ Top ]
errorInfo [line 1020]
This method is used to collect information about an error
Overridden in child classes as:
Parameters:
[ Top ]
errorNative [line 1092]
returns an errormessage, provides by the database
[ Top ]
escape [line 1237]
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.
Overridden in child classes as:
Parameters:
[ Top ]
execute [line 2019]
Execute a prepared query statement.
Parameters:
[ Top ]
executeMultiple [line 2456]
This function does several executeParams() calls on the same statement handle. $params must be an array indexed numerically from 0, one execute call is done for every 'row' in the array. If an error occurs during executeParams(), executeMultiple() does not execute the unfinished rows, but rather returns that error.
Parameters:
[ Top ]
executeParams [line 2427]
Executes a prepared SQL query With executeParams() the generic query of prepare is assigned with the given data array. The values of the array inserted into the query in the same order like the array order
Parameters:
[ Top ]
freePrepared [line 1971]
Release resources allocated for the specified prepared query.
Parameters:
[ Top ]
getDeclaration [line 2194]
Obtain DBMS specific SQL code portion needed to declare of the given type
Parameters:
[ Top ]
getDSN [line 1526]
return the DSN as a string
Parameters:
[ Top ]
getOption [line 1187]
returns the value of an option
Parameters:
[ Top ]
getSequenceName [line 2232]
adds sequence name formating to a sequence name
Parameters:
[ Top ]
getWarnings [line 1121]
get all warnings in reverse order. This means that the last warning is the first element in the array
[ Top ]
loadModule [line 1340]
loads a module
Parameters:
[ Top ]
nextID [line 2251]
returns the next free id of a sequence
Overridden in child classes as:
Parameters:
[ Top ]
prepare [line 1813]
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(?,?,?)'. The ? are wildcards. Types of wildcards: ? - a quoted scalar value, i.e. strings, integers
Parameters:
[ Top ]
query [line 1598]
Send a query to the database and return any results
Overridden in child classes as:
Parameters:
[ Top ]
queryAll [line 2394]
Execute the specified query, fetch all the rows of the result set into a two dimensional array and then frees the result set.
Parameters:
[ Top ]
queryCol [line 2357]
Execute the specified query, fetch the value from the first column of each row of the result set into an array and then frees the result set.
Parameters:
[ Top ]
queryOne [line 2300]
Execute the specified query, fetch the value from the first column of the first row of the result set and then frees the result set.
Parameters:
[ Top ]
queryRow [line 2329]
Execute the specified query, fetch the values from the first row of the result set into an array and then frees the result set.
Parameters:
[ Top ]
quote [line 2131]
Convert a text value into a DBMS specific format that is suitable to compose query statements.
Parameters:
[ Top ]
quoteIdentifier [line 1284]
Quote a string so it can be safely used as a table or column name Delimiting style depends on which database driver is being used. NOTE: just because you CAN use delimited identifiers doesn't mean you SHOULD use them. In general, they end up causing way more problems than they solve. Portability is broken by using the following characters inside delimited identifiers:
Overridden in child classes as:
Parameters:
[ Top ]
raiseError [line 1053]
This method is used to communicate an error and invoke error callbacks etc. Basically a wrapper for PEAR::raiseError without the message string.
Parameters:
[ Top ]
replace [line 1728]
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 pratically 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.
Overridden in child classes as:
Parameters:
[ Top ]
resetWarnings [line 1105]rollback [line 1425]
Cancel any database changes done during a transaction 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.
Overridden in child classes as:
[ Top ]
setDatabase [line 1477]
Select a different database
Parameters:
[ Top ]
setDSN [line 1494]
set the DSN
Parameters:
[ Top ]
setFetchMode [line 1140]
Sets which fetch mode should be used by default on queries on this connection.
Parameters:
[ Top ]
setLimit [line 1617]
set the range of the next query
Parameters:
[ Top ]
setOption [line 1163]
set the option for the db class
Parameters:
[ Top ]
setParam [line 1916]
Set the value of a parameter of a prepared query.
Parameters:
[ Top ]
setParamArray [line 1949]
Set the values of multiple a parameter of a prepared query in bulk.
Parameters:
[ Top ]
standaloneQuery [line 1563]
execute a query as database administrator
Overridden in child classes as:
Parameters:
[ Top ]
subSelect [line 1655]
simple subselect emulation: leaves the query untouched for all RDBMS that support subselects
Overridden in child classes as:
Parameters:
[ Top ]
supports [line 2217]
Tell whether a DB implementation or its backend extension supports a given feature.
Parameters:
[ Top ]
__toString [line 1000]Documentation generated on Mon, 11 Mar 2019 10:15:49 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004. |