Done
Description
On the current main branch, an explicit zero row limit exports the entire table. For example, using a fresh database:
sqlite-utils demo.db 'create table items as select 1 as id union all select 2'
sqlite-utils rows demo.db items --limit 0The second command prints both records. Adding --offset 1 prints the second record. In either case the expected JSON output is [], consistent with running the equivalent SQL with LIMIT 0. This matters when a script calculates the number of records to export.
The CLI tests the truthiness of the limit, so it handles zero like an omitted option.
Metadata
Metadata
Assignees
Labels
No labels
Activity
Release 4.2.2