Skip to main content
ZangTable exposes a read-only SQL query endpoint for reporting, lookups, joins, and debugging data relationships. Index endpoints help speed up common filters and sorts, especially when a table starts getting larger. Use the query endpoint when you want to answer questions like:
  • “Which members have overdue library books?”
  • “Which customers have open invoices?”
  • “Which orders should be merged with shipment rows by order_id?”
  • “What query shape should I turn into a dedicated app endpoint later?”
The query endpoint is read-only. Use record and schema endpoints for writes.

Read-only query

Example response:

Relational example: find members with late library books

First, fetch late loans:
Then fetch the matching members:
Your backend can merge those results by member_id / id and send reminder emails to members with late books. Once the pattern is stable, you can also run it as one SQL query with a join:

Indexes

Use indexes when the same columns power frequent filters, sorts, joins, or dashboard views. For example, if you often query late loans by returned_at and due_date, create an index on those columns so SQLite can find matching rows faster.

Run query

List indexes

Create index

Delete index