Query with Pagination
query_paginatedExecute SELECT queries with pagination on Android SQLite databases, specifying limit and offset to retrieve a subset of rows along with the total row count.
Instructions
Execute a SELECT query with LIMIT/OFFSET pagination. Returns results plus total row count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | SQL SELECT query | |
| limit | Yes | Maximum rows to return | |
| offset | No | Number of rows to skip (default 0) | |
| database | Yes | Database filename (e.g. app.db) |