function DatabaseConnection_mysql::queryTemporary

Overrides DatabaseConnection::queryTemporary

File

includes/database/mysql/database.inc, line 471

Class

DatabaseConnection_mysql

Code

public function queryTemporary($query, array $args = array(), array $options = array()) {
    $tablename = $this->generateTemporaryTableName();
    $this->query('CREATE TEMPORARY TABLE {' . $tablename . '} Engine=MEMORY ' . $query, $args, $options);
    return $tablename;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.