public function DeleteQuery::execute

cis7 query.inc public DeleteQuery::execute()
cle7 query.inc public DeleteQuery::execute()
elmsmedia7 query.inc public DeleteQuery::execute()
icor7 query.inc public DeleteQuery::execute()
meedjum_blog7 query.inc public DeleteQuery::execute()
mooc7 query.inc public DeleteQuery::execute()

Executes the DELETE query.

Return value

The return value is dependent on the database connection.

Overrides Query::execute

1 method overrides DeleteQuery::execute()
DeleteQuery_sqlite::execute in includes/database/sqlite/query.inc
Executes the DELETE query.

File

includes/database/query.inc, line 851
Non-specific Database query code. Used by all engines.

Class

DeleteQuery
General class for an abstracted DELETE operation.

Code

public function execute() {
  $values = array();
  if (count($this->condition)) {
    $this->condition->compile($this->connection, $this);
    $values = $this->condition->arguments();
  }

  return $this->connection->query((string) $this, $values, $this->queryOptions);
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.