| Query::comment | Adds a comment to the query. |
| Query::getComments | Returns a reference to the comments array for the query. |
| Query::nextPlaceholder | Gets the next placeholder value for this query object. Overrides QueryPlaceholderInterface::nextPlaceholder |
| Query::__sleep | Implements the magic __sleep function to disconnect from the database. |
| Query::__wakeup | Implements the magic __wakeup function to reconnect to the database. |
| SelectQuery::addExpression | Adds an expression to the list of "fields" to be SELECTed. Overrides SelectQueryInterface::addExpression |
| SelectQuery::addField | Adds a field to the list to be SELECTed. Overrides SelectQueryInterface::addField |
| SelectQuery::addJoin | Join against another table in the database. Overrides SelectQueryInterface::addJoin |
| SelectQuery::addMetaData | |
| SelectQuery::addTag | |
| SelectQuery::arguments | |
| SelectQuery::compile | |
| SelectQuery::condition | |
| SelectQuery::conditions | |
| SelectQuery::countQuery | Get the equivalent COUNT query of this query as a new query object. Overrides SelectQueryInterface::countQuery |
| SelectQuery::distinct | Sets this query to be DISTINCT. Overrides SelectQueryInterface::distinct |
| SelectQuery::execute | Runs the query against the database. Overrides Query::execute |
| SelectQuery::exists | |
| SelectQuery::extend | |
| SelectQuery::fields | Add multiple fields from the same table to be SELECTed. Overrides SelectQueryInterface::fields |
| SelectQuery::forUpdate | Add FOR UPDATE to the query. Overrides SelectQueryInterface::forUpdate |
| SelectQuery::getArguments | Compiles and returns an associative array of the arguments for this prepared statement. Overrides SelectQueryInterface::getArguments |
| SelectQuery::getExpressions | Returns a reference to the expressions array for this query. Overrides SelectQueryInterface::getExpressions |
| SelectQuery::getFields | Returns a reference to the fields array for this query. Overrides SelectQueryInterface::getFields |
| SelectQuery::getGroupBy | Returns a reference to the group-by array for this query. Overrides SelectQueryInterface::getGroupBy |
| SelectQuery::getMetaData | |
| SelectQuery::getOrderBy | Returns a reference to the order by array for this query. Overrides SelectQueryInterface::getOrderBy |
| SelectQuery::getTables | Returns a reference to the tables array for this query. Overrides SelectQueryInterface::getTables |
| SelectQuery::getUnion | Returns a reference to the union queries for this query. This include
queries for UNION, UNION ALL, and UNION DISTINCT. Overrides SelectQueryInterface::getUnion |
| SelectQuery::groupBy | Groups the result set by the specified field. Overrides SelectQueryInterface::groupBy |
| SelectQuery::hasAllTags | |
| SelectQuery::hasAnyTag | |
| SelectQuery::hasTag | |
| SelectQuery::having | |
| SelectQuery::havingArguments | |
| SelectQuery::havingCompile | |
| SelectQuery::havingCondition | Helper function to build most common HAVING conditional clauses. Overrides SelectQueryInterface::havingCondition |
| SelectQuery::havingConditions | |
| SelectQuery::havingExists | |
| SelectQuery::havingIsNotNull | |
| SelectQuery::havingIsNull | |
| SelectQuery::havingNotExists | |
| SelectQuery::innerJoin | Inner Join against another table in the database. Overrides SelectQueryInterface::innerJoin |
| SelectQuery::isNotNull | |
| SelectQuery::isNull | |
| SelectQuery::isPrepared | Indicates if preExecute() has already been called on that object. Overrides SelectQueryInterface::isPrepared |
| SelectQuery::join | Default Join against another table in the database. Overrides SelectQueryInterface::join |
| SelectQuery::leftJoin | Left Outer Join against another table in the database. Overrides SelectQueryInterface::leftJoin |
| SelectQuery::notExists | |
| SelectQuery::preExecute | Generic preparation and validation for a SELECT query. Overrides SelectQueryInterface::preExecute |
| SelectQuery::range | Restricts a query to a given range in the result set. Overrides SelectQueryInterface::range |
| SelectQuery::rightJoin | Right Outer Join against another table in the database. Overrides SelectQueryInterface::rightJoin |
| SelectQuery::union | Add another Select query to UNION to this one. Overrides SelectQueryInterface::union |
| SelectQuery::where | |
| SelectQuery::__clone | Clone magic method. Overrides SelectQueryInterface::__clone |
| SelectQuery::__construct | Constructs a Query object. Overrides Query::__construct |
| SelectQuery::__toString | Implements PHP magic __toString method to convert the query to a string. Overrides Query::__toString |
| SelectQuery_pgsql::orderBy | Overrides SelectQuery::orderBy(). Overrides SelectQuery::orderBy |
| SelectQuery_pgsql::orderRandom | Orders the result set by a random value. Overrides SelectQuery::orderRandom |