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

AliasedJSONPathBuilder

class AliasedJSONPathBuilder<O, A extends string> implements AliasedExpression<O, A> {
constructor(jsonPath: TraversedJSONPathBuilder<any, O>, alias: A | Expression<unknown>);
get expression(): Expression<O>;
get alias(): A | Expression<unknown>;
 
toOperationNode(): AliasNode;
}

§Type Parameters

§
A extends string
[src]

§Implements

§Constructors

§
new AliasedJSONPathBuilder(jsonPath: TraversedJSONPathBuilder<any, O>, alias: A | Expression<unknown>)
[src]

§Properties

§
expression: Expression<O> readonly
[src]

Returns the aliased expression.

§
alias: A | Expression<unknown> readonly
[src]

Returns the alias.

§Methods

§
toOperationNode(): AliasNode
[src]

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