Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SelectQueryBuilderExpression

interface SelectQueryBuilderExpression <O> extends AliasableExpression<O> {
get isSelectQueryBuilder(): true;
toOperationNode(): SelectQueryNode;
}

§Type Parameters

§Extends

§Methods

§
get isSelectQueryBuilder(): true
[src]
§
toOperationNode(): SelectQueryNode
[src]

Creates the OperationNode that describes how to compile this expression into SQL.

If you are creating a custom expression, it's often easiest to use the {@link sql} template tag to build the node:

class SomeExpression<T> implements Expression<T> {
  toOperationNode(): OperationNode {
    return sql`some sql here`.toOperationNode()
  }
}