Query
Interface: Query
Defined in: packages/ql/src/query.ts:823
Represent a full Query
Properties
aggregation?
optionalaggregation?:AggregationQuery
Defined in: packages/ql/src/query.ts:855
Aggregation of a SELECT … GROUP BY or a SELECT with aggregate functions
assignments?
optionalassignments?:Assignment[]
Defined in: packages/ql/src/query.ts:851
Assignments of an UPDATE SET
continuationToken?
optionalcontinuationToken?:string
Defined in: packages/ql/src/query.ts:835
Offset value
fields?
optionalfields?:string[]
Defined in: packages/ql/src/query.ts:847
Field list of an explicit SELECT f1, f2; undefined means every field
filter
filter:
Expression
Defined in: packages/ql/src/query.ts:827
Filtering part of the expression
limit?
optionallimit?:number
Defined in: packages/ql/src/query.ts:831
Limit value
orderBy?
optionalorderBy?:OrderBy[]
Defined in: packages/ql/src/query.ts:839
Order by clause
type
type:
QueryType
Defined in: packages/ql/src/query.ts:843
Statement type: SELECT for a plain filter query (an implicit SELECT of every field) and an explicit SELECT
Methods
toString()
toString():
string
Defined in: packages/ql/src/query.ts:859
Get the string representation of the query
Returns
string