Module

x/kysely_postgrs_js_dialect/mod.ts>kysely.TraversedJSONPathBuilder#toOperationNode

Kysely dialect for PostgreSQL using the Postgres.js client.
method kysely.TraversedJSONPathBuilder.prototype.toOperationNode
import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/mod.ts";
const { TraversedJSONPathBuilder } = kysely;

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 sql template tag to build the node:

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