This class simplifies the creation of select queries
This is the code documentation for the Pelzini project
Search documentation |
class SelectQueryThis class simplifies the creation of select queries
AuthorsVariables
Functions
public __constructvoid $SelectQuery->__construct ( ); This function does not have a description public addFieldsvoid $SelectQuery->addFields ( string $fields ); Generic method for adding fields to the query public addInnerJoinvoid $SelectQuery->addInnerJoin ( mixed $join ); Adds an INNER JOIN public addLeftJoinvoid $SelectQuery->addLeftJoin ( mixed $join ); Adds a LEFT JOIN public addProjectWherevoid $SelectQuery->addProjectWhere ( ); Adds the required WHERE clauses for multiple-project support public addWherevoid $SelectQuery->addWhere ( mixed $where ); Adds a WHERE clause. Where clauses are ANDed together public buildQueryunknown $SelectQuery->buildQuery ( ); This creates the SQL query public setFromvoid $SelectQuery->setFrom ( mixed $from ); Sets the FROM clause for the query public setGroupByvoid $SelectQuery->setGroupBy ( mixed $group_by ); Sets a GROUP BY clause. public setOrderByvoid $SelectQuery->setOrderBy ( mixed $order_by ); Sets an ORDER BY clause. |
Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Thursday, 15th March, 2018 at 02:05 pm |