Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/kysely_postgrs_js_dialect/mod.ts>kysely.AliasedJSONPathBuilder

Kysely dialect for PostgreSQL using the Postgres.js client.
Go to Latest
class kysely.AliasedJSONPathBuilder
implements AliasedExpression<O, A>
import { kysely } from "https://deno.land/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.