Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/cotton/src/modelquery.ts>ModelQuery#or

SQL Database Toolkit for Deno
Latest
method ModelQuery.prototype.or
import { ModelQuery } from "https://deno.land/x/cotton@v0.7.5/src/modelquery.ts";

Add WHERE ... OR clause to query.

Parameters

column: string

the table column name

the expected value

Add WHERE ... OR clause to query with custom query expression.

Parameters

column: string

the table column name

expression: Q

a custom SQL expression to filter the records