vB_Database_MySQLiClass to interface with a MySQL 4.1 database
This class also handles data replication between a master and slave(s) servers
Located in /includes/class_core.php (line 1190)
vB_Database | --vB_Database_MySQLi
| Class | Description |
|---|---|
vB_Database_MySQLi_Explain
|
Class to interface with a MySQL 4.1 database |
vB_Database_Slave_MySQLi
|
Class to handle interacting with a slave (and master) DB. Slave DBs are used for some reads. Master DBs are used for all writes and time-sensitive reads. (MySQLi) |
object Mysqli
db_connect
(string $servername, integer $port, string $username, string $password, string $usepconnect, [string $configfile = ''], [string $charset = ''])
array
$fetchtypes
= array(Array of constants for use in fetch_array
array
$functions
= array(Array of function names, mapping a simple name to the RDBMS specific function name
Inherited from vB_Database
vB_Database::$appname
vB_Database::$appshortname
vB_Database::$connection_master
vB_Database::$connection_recent
vB_Database::$connection_slave
vB_Database::$database
vB_Database::$errno
vB_Database::$error
vB_Database::$locked
vB_Database::$maxpacket
vB_Database::$multiserver
vB_Database::$querycount
vB_Database::$registry
vB_Database::$reporterror
vB_Database::$shutdownqueries
vB_Database::$sql
db_connect (line 1247)
Initialize database connection(s)
Connects to the specified master database server, and also to the slave server if it is specified
escape_string (line 1335)
Escapes a string to make it safe to be inserted into an SQL query
execute_query (line 1294)
Executes an SQL query through the specified connection
field_name (line 1348)
Returns the name of a field from within a query result set
select_db_wrapper (line 1323)
Simple wrapper for select_db(), to allow argument order changes
Inherited From vB_Database
vB_Database::vB_Database()
vB_Database::affected_rows()
vB_Database::client_encoding()
vB_Database::close()
vB_Database::connect()
vB_Database::data_seek()
vB_Database::db_connect()
vB_Database::errno()
vB_Database::error()
vB_Database::escape_string()
vB_Database::escape_string_like()
vB_Database::execute_query()
vB_Database::fetch_array()
vB_Database::fetch_field()
vB_Database::fetch_row()
vB_Database::field_name()
vB_Database::force_sql_mode()
vB_Database::found_rows()
vB_Database::free_result()
vB_Database::halt()
vB_Database::hide_errors()
vB_Database::insert_id()
vB_Database::insert_multiple()
vB_Database::lock_tables()
vB_Database::num_fields()
vB_Database::num_rows()
vB_Database::query()
vB_Database::query_first()
vB_Database::query_first_slave()
vB_Database::query_insert()
vB_Database::query_read()
vB_Database::query_read_slave()
vB_Database::query_replace()
vB_Database::query_write()
vB_Database::select_db()
vB_Database::select_db_wrapper()
vB_Database::show_errors()
vB_Database::shutdown_query()
vB_Database::sql_prepare()
vB_Database::unlock_tables()
Documentation generated on Tue, 26 Jan 2010 15:15:05 -0600 by phpDocumentor 1.4.3