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

x/aloedb/lib/core.ts>searchDocuments

Light, Embeddable, NoSQL database for Deno 🦕
Latest
function searchDocuments
import { searchDocuments } from "https://deno.land/x/aloedb@0.9.0/lib/core.ts";

Find documents positions.

Parameters

query: Query | QueryFunction | undefined

Documents selection criteria.

documents: Document[]

Array of documents to search.

Returns

number[]

Found positions.