Skip to main content
Module

x/kysely_deno_postgres_dialect/mod.ts>kysely.PrimitiveValueListNode

Kysely dialect for PostgreSQL using the deno-postgres client.
Latest
interface kysely.PrimitiveValueListNode
implements OperationNode
Re-export
import { type kysely } from "https://deno.land/x/kysely_deno_postgres_dialect@v0.27.1/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
Re-export
import { kysely } from "https://deno.land/x/kysely_deno_postgres_dialect@v0.27.1/mod.ts";
const { PrimitiveValueListNode } = kysely;

type

Readonly<{ is(node: OperationNode): node is PrimitiveValueListNode; create(values: ReadonlyArray<unknown>): PrimitiveValueListNode; }>