Connection::queryTemporary

abstract Connection::queryTemporary($query, array $args = array(), array $options = array()) Runs a SELECT query and stores its results in a temporary table. Use this as a substitute for ->query() when the results need to stored in a temporary table. Temporary tables exist for the duration of the page request. User-supplied arguments to the query should be passed in as separate parameters so that they can be properly escaped to avoid SQL injection attacks. Note that if you need to know how m

Connection::queryRange

public Connection::queryRange($query, $from, $count, array $args = array(), array $options = array()) Runs a limited-range query on this database object. Use this as a substitute for ->query() when a subset of the query is to be returned. User-supplied arguments to the query should be passed in as separate parameters so that they can be properly escaped to avoid SQL injection attacks. Parameters string $query: A string containing an SQL query. int $from: The first result row to return. int

Connection::queryRange

public Connection::queryRange($query, $from, $count, array $args = array(), array $options = array()) Runs a limited-range query on this database object. Use this as a substitute for ->query() when a subset of the query is to be returned. User-supplied arguments to the query should be passed in as separate parameters so that they can be properly escaped to avoid SQL injection attacks. Parameters string $query: A string containing an SQL query. int $from: The first result row to return. int

Connection::queryRange

public Connection::queryRange($query, $from, $count, array $args = array(), array $options = array()) Runs a limited-range query on this database object. Use this as a substitute for ->query() when a subset of the query is to be returned. User-supplied arguments to the query should be passed in as separate parameters so that they can be properly escaped to avoid SQL injection attacks. Parameters string $query: A string containing an SQL query. int $from: The first result row to return. int

Connection::queryRange

abstract public Connection::queryRange($query, $from, $count, array $args = array(), array $options = array()) Runs a limited-range query on this database object. Use this as a substitute for ->query() when a subset of the query is to be returned. User-supplied arguments to the query should be passed in as separate parameters so that they can be properly escaped to avoid SQL injection attacks. Parameters string $query: A string containing an SQL query. int $from: The first result row to ret

Connection::query

public Connection::query($query, array $args = array(), $options = array()) Executes a query string against the database. This method provides a central handler for the actual execution of every query. All queries executed by Drupal are executed as PDO prepared statements. Parameters string|\Drupal\Core\Database\StatementInterface $query: The query to execute. In most cases this will be a string containing an SQL query with placeholders. An already-prepared instance of StatementInterface may a

Connection::query

public Connection::query($query, array $args = array(), $options = array()) Executes a query string against the database. This method provides a central handler for the actual execution of every query. All queries executed by Drupal are executed as PDO prepared statements. Parameters string|\Drupal\Core\Database\StatementInterface $query: The query to execute. In most cases this will be a string containing an SQL query with placeholders. An already-prepared instance of StatementInterface may a

Connection::query

public Connection::query($query, array $args = array(), $options = array()) Executes a query string against the database. This method provides a central handler for the actual execution of every query. All queries executed by Drupal are executed as PDO prepared statements. Parameters string|\Drupal\Core\Database\StatementInterface $query: The query to execute. In most cases this will be a string containing an SQL query with placeholders. An already-prepared instance of StatementInterface may a

Connection::pushTransaction

public Connection::pushTransaction($name) Increases the depth of transaction nesting. If no transaction is already active, we begin a new transaction. Parameters string $name: The name of the transaction. Throws \Drupal\Core\Database\TransactionNameNonUniqueException See also \Drupal\Core\Database\Transaction File core/lib/Drupal/Core/Database/Connection.php, line 1116 Class Connection Base Database API class. Namespace Drupal\Core\Database Code public function pushTransaction($name

Connection::prepareQuery

public Connection::prepareQuery($query) Prepares a query string and returns the prepared statement. This method caches prepared statements, reusing them when possible. It also prefixes tables names enclosed in curly-braces. Parameters $query: The query string as SQL, with curly-braces surrounding the table names. Return value \Drupal\Core\Database\StatementInterface A PDO prepared statement ready for its execute() method. Overrides Connection::prepareQuery File core/lib/Drupal/Core/Database/D