Module

x/justaos_orm/src/core/query-builder/DML/DeleteQuery.ts>default

JUSTAOS's ORM (Object–relational mapping) tool is built for Deno and provides transparent persistence for JavaScript objects to Postgres database.
Latest
class default
implements IQuery
import { default } from "https://dotland.deno.dev/x/justaos_orm@v10.1.0/src/core/query-builder/DML/DeleteQuery.ts";

Constructors

new
default()

Methods

andWhere(
columnOrCompoundFunction:
| string
| number
| boolean
| ((where: WhereClause) => void)
,
operatorOrValue?: TWhereClauseOperator | any,
value?: any,
): DeleteQuery

This method is used to set the AND where clause for the delete query. (same as where)

buildQuery(): string
from(tableName: string): DeleteQuery
orWhere(
columnOrCompoundFunction:
| string
| number
| boolean
| ((where: WhereClause) => void)
,
operatorOrValue?: TWhereClauseOperator | any,
value?: any,
): DeleteQuery

This method is used to set the or where clause for the delete query.

where(
columnOrCompoundFunction:
| string
| number
| boolean
| ((where: WhereClause) => void)
,
operatorOrValue?: TWhereClauseOperator | any,
value?: any,
): DeleteQuery

This method is used to set the AND where clause for the delete query.