public function SelectQueryExtender::getMetaData

Retrieves a given piece of metadata.

Parameters

$key: The unique identifier for the piece of metadata to retrieve.

Return value

The previously attached metadata object, or NULL if one doesn't exist.

Overrides QueryAlterableInterface::getMetaData

File

drupal/includes/database/select.inc, line 608

Class

SelectQueryExtender
The base extender class for Select queries.

Code

public function getMetaData($key) {
  return $this->query
    ->getMetaData($key);
}