Mask Databases / Query examples

Find all active customers

MongoDB query compiled from plain English against the ecommerce sample schema, then verified by running it.

The compiled query

{
  "type": "find",
  "collection": "customers",
  "filter": {
    "status": "active"
  }
}

How the compiled query works

Example results

Live output from running this query against the sample dataset.

nameemailstatuscreatedAt
Ava Chenava@example.comactive2026-04-05T20:08:22.972Z
Marcus Reidmarcus@example.comactive2026-05-15T20:08:22.972Z
Sam Okaforsam@example.comactive2026-07-04T20:08:22.972Z

Write this in plain English instead. Mask Databases compiles the sentence above into exactly this query at build time — no AI at runtime, and you can read the output in a diff.

Try it in the playground → No signup, runs in your browser.

Related queries