@terascope/types / sql-interfaces / SQLResult
Interface: SQLResult
Defined in: packages/types/src/sql-interfaces.ts:119
The result of translating an xLucene query to SQL.
query is a boolean expression for a WHERE clause, not a complete statement; the caller
supplies the projection and the source. An empty xLucene query becomes TRUE, and a query
that cannot match anything becomes FALSE.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
query | string | - | packages/types/src/sql-interfaces.ts:120 |
sort? | SQLSort[] | Present only when the query implies an ordering: a geoDistance function, or a default_geo_field with a geo_sort_point. | packages/types/src/sql-interfaces.ts:125 |