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

x/mandarinets/rust-core/database/drivers/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/mandarinets@v2.3.2/rust-core/database/drivers/postgres/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>