Query::$connection |
property |
includes/database/query.inc |
The connection object on which to run this query. |
DatabaseConnection |
class |
includes/database/database.inc |
Base Database API class. |
MockTestConnection |
class |
modules/simpletest/tests/filetransfer.test |
Mock connection object for test case. |
ConnectionUnitTest |
class |
modules/simpletest/tests/database_test.test |
Tests management of database connections. |
Query::$connectionKey |
property |
includes/database/query.inc |
The key of the connection object. |
Database::$connections |
property |
includes/database/database.inc |
An nested array of all active connections. It is keyed by database name
and target. |
Database::getConnection |
function |
includes/database/database.inc |
Gets the connection object for the specified database key and target. |
MockTestConnection::run |
function |
modules/simpletest/tests/filetransfer.test |
|
Database::openConnection |
function |
includes/database/database.inc |
Opens a connection to the server specified by the given key and target. |
DatabaseConnection::$pdo |
property |
includes/database/database.inc |
The PDO object that is used for running database queries. |
ConnectionUnitTest::$key |
property |
modules/simpletest/tests/database_test.test |
|
DatabaseConnection_mysql |
class |
drivers/database_mysql/database.inc |
|
DatabaseConnection::$key |
property |
includes/database/database.inc |
The key representing this connection. |
Query::$connectionTarget |
property |
includes/database/query.inc |
The target of the connection object. |
ConnectionUnitTest::setUp |
function |
modules/simpletest/tests/database_test.test |
Sets up unit test environment. |
DatabaseConnection::query |
function |
includes/database/database.inc |
Executes a query string against the database. |
DatabaseConnection::merge |
function |
includes/database/database.inc |
Prepares and returns a MERGE query object. |
DatabaseConnection::quote |
function |
includes/database/database.inc |
Provides a wrapper for the quote() function from the PDO object. |
Database::closeConnection |
function |
includes/database/database.inc |
Closes a connection to the server specified by the given key and target. |
DatabaseConnection::select |
function |
includes/database/database.inc |
Prepares and returns a SELECT query object. |
DatabaseConnection::nextId |
function |
includes/database/database.inc |
Retrieves an unique id from a given sequence. |
Database::removeConnection |
function |
includes/database/database.inc |
Remove a connection and its corresponding connection information. |
DatabaseConnection::delete |
function |
includes/database/database.inc |
Prepares and returns a DELETE query object. |
DatabaseConnection::getKey |
function |
includes/database/database.inc |
Returns the key this connection is associated with. |
DatabaseConnection::setKey |
function |
includes/database/database.inc |
Tells this connection object what its key is. |
DatabaseConnection::commit |
function |
includes/database/database.inc |
Throws an exception to deny direct access to transaction commits. |
DatabaseConnection::driver |
function |
includes/database/database.inc |
Returns the type of database driver. |
DatabaseConnection::insert |
function |
includes/database/database.inc |
Prepares and returns an INSERT query object. |
DatabaseConnection::update |
function |
includes/database/database.inc |
Prepares and returns an UPDATE query object. |
Database::renameConnection |
function |
includes/database/database.inc |
Rename a connection and its corresponding connection information. |
DatabaseConnection::schema |
function |
includes/database/database.inc |
Returns a DatabaseSchema object for manipulating the schema. |
DatabaseConnectionTestCase |
class |
modules/simpletest/tests/database_test.test |
Test connection management. |
DatabaseConnection::$target |
property |
includes/database/database.inc |
The database target this connection is for. |
DatabaseConnection::$schema |
property |
includes/database/database.inc |
The schema object for this connection. |
DatabaseLog::$connectionKey |
property |
includes/database/log.inc |
The connection key for which this object is logging. |
DatabaseSchema::$connection |
property |
includes/database/schema.inc |
The current database connection. |
ConnectionUnitTest::$target |
property |
modules/simpletest/tests/database_test.test |
|
DatabaseConnection::prepare |
function |
includes/database/database.inc |
Provides a pass-through to the PDO prepare method. |
DatabaseConnection::version |
function |
includes/database/database.inc |
Returns the version of the database server. |
Database::addConnectionInfo |
function |
includes/database/database.inc |
Adds database connection information for a given key/target. |
Database::getConnectionInfo |
function |
includes/database/database.inc |
Gets information on the specified database connection. |
DatabaseConnection::$logger |
property |
includes/database/database.inc |
The current database logging object for this connection. |
DatabaseConnection::destroy |
function |
includes/database/database.inc |
Destroys this Connection object. |
Database::isActiveConnection |
function |
includes/database/database.inc |
Determines if there is an active connection. |
ConnectionUnitTest::$monitor |
property |
modules/simpletest/tests/database_test.test |
|
DatabaseConnection::truncate |
function |
includes/database/database.inc |
Prepares and returns a TRUNCATE query object. |
DatabaseConnection::rollback |
function |
includes/database/database.inc |
Rolls back the transaction entirely or to a named savepoint. |
DatabaseConnection::$prefixes |
property |
includes/database/database.inc |
The prefixes used by this database connection. |
DatabaseConnection::getLogger |
function |
includes/database/database.inc |
Gets the current logging object for this connection. |
DatabaseConnection::setLogger |
function |
includes/database/database.inc |
Associates a logging object with this connection. |