Build a MongoDB find request with filters, projection, sorting, and pagination.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Selected collection, filter operators, projection, sort, skip, and limit become a MongoDB query document and method chain. Values remain JSON-like literals and are not sent to a server.
Operation: find
Collection: users
Filter: {"status": "active"}
Sort: {"name": 1}
Limit: 20
db.users.find({"status": "active"}).sort({"name": 1}).limit(20)
Admin screens, service reads, and compound-index reviews build MongoDB queries.