class PgDelete
implements SQLWrapper
extends QueryPromise<TReturning extends undefined ? QueryResultKind<TQueryResult, never> : TReturning[]>
Re-export
import { PgDelete } from "https://deno.land/x/drizzle@v0.23.85/pg-core.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[]>
Re-export
import { type PgDelete } from "https://deno.land/x/drizzle@v0.23.85/pg-core.ts";
Type Parameters
TTable extends AnyPgTable
TQueryResult extends QueryResultHKT