{ "key": value } means equals:
Operators
Combine
Combine conditions with$and and $or arrays:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Narrow a query by metadata.
{ "key": value } means equals:
{ "team": "support" }
| Operator | Matches |
|---|---|
$eq | equal to |
$ne | not equal to |
$gt, $gte | greater than, greater than or equal |
$lt, $lte | less than, less than or equal |
$in | equal to any value in the list |
$nin | equal to none of the values in the list |
{ "year": { "$gte": 2024 } }
{ "lang": { "$in": ["en", "de"] } }
$and and $or arrays:
{ "$or": [ { "team": "support" }, { "year": { "$gte": 2024 } } ] }
{ "$and": [ { "lang": { "$in": ["en", "de"] } }, { "draft": { "$ne": true } } ] }
import type { Filter } from "conare";
const filter: Filter = { $or: [{ team: "support" }, { year: { $gte: 2024 } }] };
await docs.query("refunds", { filter });