Skip to main content

@terascope/sql-builder / dialects/base

dialects/base

Classes​

ClassDescription
BaseSQLDialectThe SQL that every supported engine writes the same way.

Variables​

NOTHING_READABLE​

const NOTHING_READABLE: "NULL" = 'NULL'

Defined in: dialects/base.ts:32

The projection used when no field may be returned.

Elasticsearch still returns and counts the hits, just with an empty _source, so the SQL needs a valid projection that carries no data rather than an error or no rows.