Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/pgc4d/src/prepared_statement.ts>PreparedStatement

A full-featured PostgreSQL Client for Deno
Latest
interface PreparedStatement
import { type PreparedStatement } from "https://deno.land/x/pgc4d@v1.3.6/src/prepared_statement.ts";

Methods

execute(params?: ColumnValue[]): Promise<BufferedQueryResult>

Executes the prepared statement and returns a buffered result once all the rows are received.

executeStreaming(params?: ColumnValue[]): Promise<StreamingQueryResult>

Executes the prepared statement and returns a streaming result as soon as the query has been accepted by the server. Rows will be retrieved as you consume them.

close(): Promise<void>

Release the prepared statement on the server.