Module

x/justaos_orm/src/core/query-builder/CLAUSES/WhereClause.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 IClause
import { default } from "https://dotland.deno.dev/x/justaos_orm@v10.1.0/src/core/query-builder/CLAUSES/WhereClause.ts";

Constructors

new
default()

Methods

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

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

orWhere(
columnOrCompoundFunction:
| string
| number
| boolean
| ((subClause: WhereClause) => void)
,
operatorOrValue?: any,
value?: any,
): WhereClause

This method is used to set the OR where clause.

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

This method is used to set the AND where clause.