Module

x/kysely_postgrs_js_dialect/mod.ts>kysely.AliasedJSONPathBuilder

Kysely dialect for PostgreSQL using the Postgres.js client.
class kysely.AliasedJSONPathBuilder
implements AliasedExpression<O, A>
import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/mod.ts";
const { AliasedJSONPathBuilder } = kysely;

Constructors

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

Type Parameters

O
A extends string

Properties

readonly
alias: A | Expression<unknown>

Returns the alias.

readonly
expression: Expression<O>

Returns the aliased expression.

Methods

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