| MDB2 |
| [ class tree: MDB2 ] [ index: MDB2 ] [ all elements ] |
|
Packages: MDB2 Files:
clitest.php
Common.php Common.php Common.php Console_TestListener.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 HTML_TestListener.php ibase.php ibase.php ibase.php ibase.php ibase.php Iterator.php LOB.php Manager.php MDB2.php MDB2_api_testcase.php MDB2_bugs_testcase.php MDB2_manager_testcase.php MDB2_native_testcase.php MDB2_reverse_testcase.php MDB2_usage_testcase.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 test.php testchoose.php testUtils.php Classes:
DB
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 |
[ Top ] $supported = array()[line 806]
[ Top ] Method DetailMDB2_Driver_Common (Constructor) [line 941]affectedRows [line 2056]
returns the affected rows of a query
Overridden in child classes as:
[ Top ]
autoCommit [line 1346]
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 1365]
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 2180]
returns the current id of a sequence
Overridden in child classes as:
Parameters:
[ Top ]
debug [line 1164]
set a debug message
Parameters:
[ Top ]
debugOutput [line 1180]
output debug info
[ Top ]
disconnect [line 1401]
Log out and disconnect from the database.
[ Top ]
errorInfo [line 979]
This method is used to collect information about an error
Overridden in child classes as:
Parameters:
[ Top ]
errorNative [line 1051]
returns an errormessage, provides by the database
[ Top ]
escape [line 1196]
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 1970]
Execute a prepared query statement.
Parameters:
[ Top ]
executeMultiple [line 2541]
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 2513]
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 1925]
Release resources allocated for the specified prepared query.
Parameters:
[ Top ]
getAll [line 2470]
Fetch all the rows returned from a query.
Parameters:
[ Top ]
getCol [line 2420]
Fetch a single column from a result set and return it as an indexed array.
Parameters:
[ Top ]
getDeclaration [line 2107]
Obtain DBMS specific SQL code portion needed to declare of the given type
Parameters:
[ Top ]
getDSN [line 1485]
return the DSN as a string
Parameters:
[ Top ]
getOne [line 2337]
Fetch the first column of the first row of data returned from a query. Takes care of doing the query and freeing the results when finished.
Parameters:
[ Top ]
getOption [line 1146]
returns the value of an option
Parameters:
[ Top ]
getRow [line 2378]
Fetch the first row of data returned from a query. Takes care of doing the query and freeing the results when finished.
Parameters:
[ Top ]
getSequenceName [line 2145]
adds sequence name formating to a sequence name
Parameters:
[ Top ]
getValue [line 2081]
Convert a text value into a DBMS specific format that is suitable to compose query statements.
Parameters:
[ Top ]
getWarnings [line 1080]
get all warnings in reverse order. This means that the last warning is the first element in the array
[ Top ]
loadModule [line 1299]
loads a module
Parameters:
[ Top ]
nextID [line 2164]
returns the next free id of a sequence
Overridden in child classes as:
Parameters:
[ Top ]
prepare [line 1771]
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 1556]
Send a query to the database and return any results
Overridden in child classes as:
Parameters:
[ Top ]
queryAll [line 2306]
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 2269]
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 2212]
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 2241]
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 ]
quoteIdentifier [line 1243]
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 1012]
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 1686]
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 1064]rollback [line 1384]
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 1436]
Select a different database
Parameters:
[ Top ]
setDSN [line 1453]
set the DSN
Parameters:
[ Top ]
setFetchMode [line 1099]
Sets which fetch mode should be used by default on queries on this connection.
Parameters:
[ Top ]
setLimit [line 1575]
set the range of the next query
Parameters:
[ Top ]
setOption [line 1122]
set the option for the db class
Parameters:
[ Top ]
setParam [line 1870]
Set the value of a parameter of a prepared query.
Parameters:
[ Top ]
setParamArray [line 1903]
Set the values of multiple a parameter of a prepared query in bulk.
Parameters:
[ Top ]
standaloneQuery [line 1522]
execute a query as database administrator
Overridden in child classes as:
Parameters:
[ Top ]
subSelect [line 1613]
simple subselect emulation: leaves the query untouched for all RDBMS that support subselects
Overridden in child classes as:
Parameters:
[ Top ]
supports [line 2130]
Tell whether a DB implementation or its backend extension supports a given feature.
Parameters:
[ Top ]
toString [line 959]Documentation generated on Sat, 1 May 2004 03:30:34 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004. |