Skip to main content

Query bar basics

The Spanna query bar accepts structured MongoDB query input. A typical query includes:
  • filter
  • sort
  • limit
  • skip
  • projection
Example:
{
  "filter": { "status": "active" },
  "sort": { "updatedAt": -1 },
  "limit": 50
}

Running a query

  1. Open a collection.
  2. Enter your query JSON in the query bar.
  3. Run the query.
  4. Review results in the documents panel.

Query tips

  • start with a small limit
  • add a sort when reading time-based collections
  • use projection to reduce noise

Free limits

Recent query history is available in free mode with a capped history.

Install Spanna

Install Spanna

See Spanna Features

See Spanna Features