class PgDelete
implements SQLWrapper
extends QueryPromise<TReturning extends undefined ? QueryResultKind<TQueryResult, never> : TReturning[]>
import { PgDelete } from "https://deno.land/x/drizzle@v0.23.85/pg-core/query-builders.ts";
Type Parameters
TTable extends AnyPgTable
TQueryResult extends QueryResultHKT
Methods
prepare(name: string): PreparedQuery<PreparedQueryConfig & { execute: TReturning extends undefined ? QueryResultKind<TQueryResult, never> : TReturning[]; }>
returning<TSelectedFields extends SelectedFieldsFlat>(fields: TSelectedFields): PgDelete<TTable, TQueryResult, SelectResultFields<TSelectedFields>>
interface PgDelete
implements QueryPromise<TReturning extends undefined ? QueryResultKind<TQueryResult, never> : TReturning[]>
import { type PgDelete } from "https://deno.land/x/drizzle@v0.23.85/pg-core/query-builders.ts";
Type Parameters
TTable extends AnyPgTable
TQueryResult extends QueryResultHKT