Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PgSelect

interface PgSelect <TTableName extends string | undefined, TSelection, TSelectMode extends SelectMode, TNullabilityMap extends Record<string, JoinNullability> = TTableName extends string ? Record<TTableName, "not-null"> : {}> extends PgSelectQueryBuilder<PgSelectHKT, TTableName, TSelection, TSelectMode, TNullabilityMap>, QueryPromise<SelectResult<TSelection, TSelectMode, TNullabilityMap>[]> {}
class PgSelect<TTableName extends string | undefined, TSelection, TSelectMode extends SelectMode, TNullabilityMap extends Record<string, JoinNullability> = TTableName extends string ? Record<TTableName, "not-null"> : {}> extends PgSelectQueryBuilder<PgSelectHKT, TTableName, TSelection, TSelectMode, TNullabilityMap> {
private _prepare;
execute: ReturnType<this["prepare"]>["execute"];
 
prepare(name: string): PreparedQuery<PreparedQueryConfig & {
execute: SelectResult<TSelection, TSelectMode, TNullabilityMap>[];
}
>
;
}

§Type Parameters

§
TTableName extends string | undefined
[src]
§
TSelection
[src]
§
TSelectMode extends SelectMode
[src]
§
TNullabilityMap extends Record<string, JoinNullability> = TTableName extends string ? Record<TTableName, "not-null"> : {}
[src]

§Extends

§
PgSelectQueryBuilder<PgSelectHKT, TTableName, TSelection, TSelectMode, TNullabilityMap>
[src]
§
QueryPromise<SelectResult<TSelection, TSelectMode, TNullabilityMap>[]>
[src]

§Type Parameters

§
TTableName extends string | undefined
[src]
§
TSelection
[src]
§
TSelectMode extends SelectMode
[src]
§
TNullabilityMap extends Record<string, JoinNullability> = TTableName extends string ? Record<TTableName, "not-null"> : {}
[src]

§Extends

§
PgSelectQueryBuilder<PgSelectHKT, TTableName, TSelection, TSelectMode, TNullabilityMap>
[src]

§Properties

§
_prepare
[src]
§
execute: ReturnType<this["prepare"]>["execute"]
[src]

§Methods

§
prepare(name: string): PreparedQuery<PreparedQueryConfig & {
execute: SelectResult<TSelection, TSelectMode, TNullabilityMap>[];
}
>
[src]