constructor DB_mysql [line 2604]
This constructor calls
$this->DB_common()
method affectedRows [line 2950]
Determines the number of rows affected by a data maniuplation query
- is returned for queries that don't manipulate data.
Tags:
Overrides
DB_common::affectedRows() (Determines the number of rows affected by a data maniuplation query)
method autoCommit [line 2886]
int autoCommit(
[bool
$onoff = false])
|
|
Enables or disables automatic commits
Tags:
Overrides
DB_common::autoCommit() (Enables or disables automatic commits)
Parameters:
method commit [line 2900]
Commits the current transaction
Tags:
Overrides
DB_common::commit() (Commits the current transaction)
method connect [line 2617]
int connect(
array
$dsn, [bool
$persistent = false])
|
|
Connect to the database server, log in and open the database
Tags:
Parameters:
method createSequence [line 3053]
int createSequence(
string
$seq_name)
|
|
Creates a new sequence
Tags:
Overrides
DB_common::createSequence() (Creates a new sequence)
Parameters:
method disconnect [line 2697]
Disconnects from the database server
Tags:
method dropSequence [line 3082]
int dropSequence(
string
$seq_name)
|
|
Deletes a sequence
Tags:
Overrides
DB_common::dropSequence() (Deletes a sequence)
Parameters:
method errorNative [line 3253]
Gets the DBMS' native error code produced by the last query
Tags:
Overrides
DB_common::errorNative() (Gets the DBMS' native error code produced by the last query)
method escapeSimple [line 3158]
string escapeSimple(
string
$str)
|
|
Escapes a string according to the current DBMS's standards
Tags:
Overrides
DB_common::escapeSimple() (Escapes a string according to the current DBMS's standards)
Parameters:
method fetchInto [line 2779]
mixed fetchInto(
resource
$result, array
&$arr, int
$fetchmode, [int
$rownum = null])
|
|
Places a row from the result set into the given array
Tags:
Parameters:
method freeResult [line 2825]
bool freeResult(
resource
$result)
|
|
Deletes the result set and frees the memory occupied by the result set
This method is not meant to be called directly. Use DB_result::free() instead. It can't be declared "protected" because DB_result is a separate object.
Tags:
Parameters:
method getSpecialQuery [line 3302]
string getSpecialQuery(
string
$type)
|
|
Obtains the query string needed for listing a given type of objects
Tags:
Overrides
DB_common::getSpecialQuery() (Obtains the query string needed for listing a given type of objects)
Parameters:
method modifyLimitQuery [line 3206]
string modifyLimitQuery(
string
$query, int
$from, int
$count, [mixed
$params = array()])
|
|
Adds LIMIT clauses to a query string according to current DBMS standards
Tags:
Overrides
DB_common::modifyLimitQuery() (Adds LIMIT clauses to a query string according to current DBMS standards)
Parameters:
method modifyQuery [line 3179]
string modifyQuery(
string
$query)
|
|
Changes a query string for various DBMS specific reasons
This little hack lets you know how many rows were deleted when running a "DELETE FROM table" query. Only implemented if the DB_PORTABILITY_DELETE_COUNT portability option is on.
Tags:
Overrides
DB_common::modifyQuery() (Changes a query string for various DBMS specific reasons)
Parameters:
method mysqlRaiseError [line 3227]
object the mysqlRaiseError(
[int
$errno = null])
|
|
Produces a DB_Error object regarding the current problem
Tags:
Parameters:
method nextId [line 2973]
int nextId(
string
$seq_name, [boolean
$ondemand = true])
|
|
Returns the next free id in a sequence
Tags:
Overrides
DB_common::nextId() (Returns the next free id in a sequence)
Parameters:
method nextResult [line 2761]
false nextResult(
a
$result)
|
|
Move the internal mysql result pointer to the next available result
This method has not been implemented yet.
Parameters:
method numCols [line 2845]
int numCols(
resource
$result)
|
|
Gets the number of columns in a result set
This method is not meant to be called directly. Use DB_result::numCols() instead. It can't be declared "protected" because DB_result is a separate object.
Tags:
Parameters:
method numRows [line 2868]
int numRows(
resource
$result)
|
|
Gets the number of rows in a result set
This method is not meant to be called directly. Use DB_result::numRows() instead. It can't be declared "protected" because DB_result is a separate object.
Tags:
Overrides
DB_common::numRows() (Determines the number of rows in a query result)
Parameters:
method quoteIdentifier [line 3145]
string quoteIdentifier(
string
$str)
|
|
Quotes a string so it can be safely used as a table or column name
MySQL can't handle the backtick character (`) in table or column names.
Tags:
Overrides
DB_common::quoteIdentifier() (Quotes a string so it can be safely used as a table or column name)
Parameters:
method rollback [line 2924]
method simpleQuery [line 2718]
mixed simpleQuery(
string
$query)
|
|
Sends a query to the database server
Generally uses mysql_query(). If you want to use mysql_unbuffered_query() set the "result_buffering" option to 0 using setOptions(). This option was added in Release 1.7.0.
Tags:
Parameters:
method tableInfo [line 3274]
array tableInfo(
object|string
$result, [int
$mode = null])
|
|
Returns information about a table or a result set
Tags:
Overrides
DB_common::tableInfo() (Returns information about a table or a result set)
Parameters:
method _BCsequence [line 3096]
bool _BCsequence(
string
$seqname)
|
|
Backwards compatibility with old sequence emulation implementation (clean up the dupes)
Tags:
Parameters: