Skip to main content

xlucene-translator / index / SQLQueryParts

Interface: SQLQueryParts

Defined in: sql-builder/dist/src/statement.d.ts:9

The parts of a SQL statement, before they are joined.

QueryAccess.restrictSQLParts returns this for callers that build their own statement, such as a frame that already has its relation. Use restrictSQLQuery to get a complete statement instead.

Properties​

PropertyTypeDescriptionDefined in
columnsstring[]The field paths select projects.sql-builder/dist/src/statement.d.ts:17
excludes?string[]-sql-builder/dist/src/statement.d.ts:20
includes?string[]The _source include/exclude lists Elasticsearch would receive, not column names.sql-builder/dist/src/statement.d.ts:19
selectstringThe SELECT list, with the field restrictions already applied.sql-builder/dist/src/statement.d.ts:11
sort?SQLSort[]The ordering the query itself asked for, if any.sql-builder/dist/src/statement.d.ts:15
wherestringThe WHERE expression.sql-builder/dist/src/statement.d.ts:13