Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/drizzle/postgres.ts>PostgresJsPreparedQuery

Deno port of the drizzle-orm library
Latest
class PostgresJsPreparedQuery
extends PreparedQuery<T>
import { PostgresJsPreparedQuery } from "https://deno.land/x/drizzle@v0.23.85/postgres.ts";

Constructors

new
PostgresJsPreparedQuery(
client: Sql,
queryString: string,
params: unknown[],
logger: Logger,
fields: SelectedFieldsOrdered | undefined,
name: string | undefined,
)

Properties

private
client
private
fields
private
logger
private
params
private
query

Methods

all(placeholderValues?: Record<string, unknown> | undefined): Promise<T["all"]>
execute(placeholderValues?: Record<string, unknown> | undefined): Promise<T["execute"]>
values(placeholderValues?: Record<string, unknown> | undefined): Promise<T["values"]>