Skip to content

Queries

Build and test database queries in Wappler: add filters and sorting, preview results, and reuse queries in your app.

Queries are the read side of your database workflow, and they usually shape everything the user sees first. This tour shows how Query steps fit into Server Connect, what you are really asking the database to return, and why understanding filters and outputs makes the later data-binding steps easier to reason about.

Select columns + add filters
Bind results via App Connect

Use the Database Query step in Server Connect to select data visually. You can choose tables/columns, add filters, joins, sorting, and limits.

Select tables + columns
Add filters/joins/sort

Combine queries with input variables (GET/POST/Route) to filter results, implement search, or load a record by ID.

Use inputs for search/filter
Keep filters parameterized

Expose your query through a Server Action, then bind it on the page using App Connect (Repeat, Data Detail, Data Views).

Expose via a Server Action
Bind to Repeat/Data Views

Return to the Database Operations menu to continue with Queries, Insert, Update, Delete, or Paging.

Go back to Database Operations
Continue with another topic