Visual query builder

Illuminate complex queries before you run them

Lantern lets you build nested database filters by clicking — with live SQL preview, validation, and a simulated run against sample data.

Query preview
SELECT * FROM users
WHERE (age > 18 AND country = 'Nigeria')
   OR (status = 'active' AND purchases > 10);

Everything you need to filter with confidence

From a single condition to deeply nested logic — Lantern keeps the UI simple and the generated query correct.

Visual conditions

Compose filters as field → operator → value cards. Schema-aware inputs for numbers, dates, enums, and booleans.

Nested logic

Combine conditions with AND/OR groups at unlimited depth. Drag to reorder. Same power as hand-written SQL.

Live preview

Watch SQL, MongoDB, and GraphQL output update as you build. One query tree, three export formats.

Smart validation

Catch incompatible operators, missing values, and empty groups before you run. Status dots on every card.

Mock execution

Run queries against sample users and orders data. Sort, paginate, and verify logic without a real database.

Portable queries

Export JSON, import saved queries, use presets and snapshots. Share filter logic with your team.

How it works

01

Add conditions

Pick a field, operator, and value for each rule on the canvas.

02

Nest your logic

Group rules with AND/OR and preview the generated query instantly.

03

Execute & export

Run against mock data, then export JSON or copy SQL for production.

Ready to build your first query?

Open the builder and follow the getting started guide — you will have a nested filter running in under five minutes.