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

x/aloedb/lib/database.ts>default#count

Light, Embeddable, NoSQL database for Deno 🦕
Go to Latest
method default.prototype.count
import { default } from "https://deno.land/x/aloedb@0.1.0/lib/database.ts";

Count found documents.

Parameters

optional
query: Query<Schema> | QueryFunction<Schema>

Documents selection criteria.

Returns

Promise<number>

Documents count.