Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/cotton/mod.ts>QueryBuilder#where

SQL Database Toolkit for Deno
Latest
method QueryBuilder.prototype.where
import { QueryBuilder } from "https://deno.land/x/cotton@v0.7.5/mod.ts";

Add basic WHERE clause to query

Parameters

column: string

the table column name

value: DatabaseValues

the expected value

Add basic WHERE clause to query with custom query expression.

Parameters

column: string

the table column name

expression: Q

a custom SQL expression to filter the records