SelectQueryInterface
interface SelectQueryInterface
Interface definition for a Select Query object.
Hierarchy
- interface \QueryConditionInterface; interface \QueryAlterableInterface; interface \QueryExtendableInterface; interface \QueryPlaceholderInterface
- interface \SelectQueryInterface
Expanded class hierarchy of SelectQueryInterface
All classes that implement SelectQueryInterface
Related topics
File
- includes/database/select.inc, line 39
Members
Name | Modifiers | Type | Description |
---|---|---|---|
QueryAlterableInterface::addMetaData | public | function | Adds additional metadata to the query. |
QueryAlterableInterface::addTag | public | function | Adds a tag to a query. |
QueryAlterableInterface::getMetaData | public | function | Retrieves a given piece of metadata. |
QueryAlterableInterface::hasAllTags | public | function | Determines if a given query has all specified tags. |
QueryAlterableInterface::hasAnyTag | public | function | Determines if a given query has any specified tag. |
QueryAlterableInterface::hasTag | public | function | Determines if a given query has a given tag. |
QueryConditionInterface::arguments | public | function | Gets a complete list of all values to insert into the prepared statement. |
QueryConditionInterface::compile | public | function | Compiles the saved conditions for later retrieval. |
QueryConditionInterface::compiled | public | function | Check whether a condition has been previously compiled. |
QueryConditionInterface::condition | public | function | Helper function: builds the most common conditional clauses. |
QueryConditionInterface::conditions | public | function | Gets a complete list of all conditions in this conditional clause. |
QueryConditionInterface::exists | public | function | Sets a condition that the specified subquery returns values. |
QueryConditionInterface::isNotNull | public | function | Sets a condition that the specified field be NOT NULL. |
QueryConditionInterface::isNull | public | function | Sets a condition that the specified field be NULL. |
QueryConditionInterface::notExists | public | function | Sets a condition that the specified subquery returns no values. |
QueryConditionInterface::where | public | function | Adds an arbitrary WHERE clause to the query. |
QueryExtendableInterface::extend | public | function | Enhance this object by wrapping it in an extender object. |
QueryPlaceholderInterface::nextPlaceholder | public | function | Returns the next placeholder ID for the query. |
QueryPlaceholderInterface::uniqueIdentifier | public | function | Returns a unique identifier for this object. |
SelectQueryInterface::addExpression | public | function | Adds an expression to the list of "fields" to be SELECTed. |
SelectQueryInterface::addField | public | function | Adds a field to the list to be SELECTed. |
SelectQueryInterface::addJoin | public | function | Join against another table in the database. |
SelectQueryInterface::countQuery | public | function | Get the equivalent COUNT query of this query as a new query object. |
SelectQueryInterface::distinct | public | function | Sets this query to be DISTINCT. |
SelectQueryInterface::fields | public | function | Add multiple fields from the same table to be SELECTed. |
SelectQueryInterface::forUpdate | public | function | Add FOR UPDATE to the query. |
SelectQueryInterface::getArguments | public | function | Compiles and returns an associative array of the arguments for this prepared statement. |
SelectQueryInterface::getExpressions | public | function | Returns a reference to the expressions array for this query. |
SelectQueryInterface::getFields | public | function | Returns a reference to the fields array for this query. |
SelectQueryInterface::getGroupBy | public | function | Returns a reference to the group-by array for this query. |
SelectQueryInterface::getOrderBy | public | function | Returns a reference to the order by array for this query. |
SelectQueryInterface::getTables | public | function | Returns a reference to the tables array for this query. |
SelectQueryInterface::getUnion | public | function | Returns a reference to the union queries for this query. This include queries for UNION, UNION ALL, and UNION DISTINCT. |
SelectQueryInterface::groupBy | public | function | Groups the result set by the specified field. |
SelectQueryInterface::havingCondition | public | function | Helper function to build most common HAVING conditional clauses. |
SelectQueryInterface::innerJoin | public | function | Inner Join against another table in the database. |
SelectQueryInterface::isPrepared | public | function | Indicates if preExecute() has already been called on that object. |
SelectQueryInterface::join | public | function | Default Join against another table in the database. |
SelectQueryInterface::leftJoin | public | function | Left Outer Join against another table in the database. |
SelectQueryInterface::orderBy | public | function | Orders the result set by a given field. |
SelectQueryInterface::orderRandom | public | function | Orders the result set by a random value. |
SelectQueryInterface::preExecute | public | function | Generic preparation and validation for a SELECT query. |
SelectQueryInterface::range | public | function | Restricts a query to a given range in the result set. |
SelectQueryInterface::rightJoin | public | function | Right Outer Join against another table in the database. |
SelectQueryInterface::union | public | function | Add another Select query to UNION to this one. |
SelectQueryInterface::__clone | public | function | Clone magic method. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!database!select.inc/interface/SelectQueryInterface/7.x