com\setasign\SetaFramework\Database\Query
Query Class Query
File: /SetaFramework/src/Database/Query/Query.php
Helper class to create a query
Class hierarchy
Summary
Constants
PART_COLUMNS
PART_DISTINCT
PART_FROM
PART_GROUP_BY
PART_HAVING
PART_JOIN
PART_LIMIT
PART_LOCK
PART_OFFSET
PART_ORDER_BY
PART_TABLE_NAME
PART_VALUES
PART_WHERE
PART_WITH
PART_WITH_RECURSIVE
Static Methods
evaluateSelectClosure()
Executes a closure with the params (Query\Select $select, Database $quoteInterface) and after this the method returns the select-statement as subquery
Parameters
- $closure : \Closure
- $quoteInterface : \com\setasign\SetaFramework\Database\QuoteInterface
Return Values
Subquery
select()
public static Query::select (
string|\com\setasign\SetaFramework\Database\ExpressionInterface|array $columns = array (
)
): SelectParameters
- $columns : string|\com\setasign\SetaFramework\Database\ExpressionInterface|array
