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

x/cotton/mod.ts>QueryBuilder#count

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

Count records with given conditions

Parameters

column: string | string[]

the column(s) you want to count

optional
as: string

the alias for the count result