Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/mandarine_postgres/ts-src/pgClient.ts>PgClient

Mandarine.TS is a typescript, decorator-driven framework that allows you to create server-side applications. Mandarine.TS provides a range of built-in solutions such as Dependency Injection, Components, ORM and more. Under its umbrella, Mandarine.TS has 4 modules: Core, Data, Security and MVC, these modules will offer you the requirements to build a Mandarine-powered application.
Latest
class PgClient
import { PgClient } from "https://deno.land/x/mandarine_postgres@v2.3.2/ts-src/pgClient.ts";

Constructors

new
PgClient(manager: PgManager)

Properties

opId: number
rid: number

Methods

private
executeMapper<T>(result: any, mapper: QueryMapper | undefined): T
batchExecute<T = QueryResult>(statement: string | Array<string>, mapper?: QueryMapper): Promise<T>
execute<T = QueryResult>(
statement: string,
params?: Array<any>,
mapper?: QueryMapper,
): Promise<T>
query<T = QueryResult>(
statement: string,
params?: Array<any>,
mapper?: QueryMapper,
): Promise<T>