Module

x/kysely_postgrs_js_dialect/mod.ts>kysely.PrimitiveValueListNode

Kysely dialect for PostgreSQL using the Postgres.js client.
interface kysely.PrimitiveValueListNode
implements OperationNode
import { type kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/mod.ts";
const { PrimitiveValueListNode } = kysely;

This node is basically just a performance optimization over the normal ValueListNode. The queries often contain large arrays of primitive values (for example in a where in list) and we don't want to create a ValueNode for each item in those lists.

Properties

readonly
kind: "PrimitiveValueListNode"
readonly
values: ReadonlyArray<unknown>
variable kysely.PrimitiveValueListNode
import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/mod.ts";
const { PrimitiveValueListNode } = kysely;

type

Readonly<{ is(node: OperationNode): node is PrimitiveValueListNode; create(values: ReadonlyArray<unknown>): PrimitiveValueListNode; }>
import kysely.PrimitiveValueListNode
import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/mod.ts";
const { PrimitiveValueListNode } = kysely;