Module

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

Kysely dialect for PostgreSQL using the Postgres.js client.
Latest
method kysely.AndWrapper.prototype.toOperationNode
import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.4/mod.ts";
const { AndWrapper } = 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()
  }
}