sqlite-utils rows --limit and --offset options, closes #381

This commit is contained in:
Simon Willison 2022-01-11 15:19:29 -08:00
commit 324ebc3130
4 changed files with 30 additions and 1 deletions

View file

@ -449,6 +449,8 @@ You can use the ``-c`` option to specify a subset of columns to return::
[{"age": 4, "name": "Cleo"},
{"age": 2, "name": "Pancakes"}]
Use ``--limit N`` to only return the first ``N`` rows. Use ``--offset N`` to return rows starting from the specified offset.
.. _cli_tables:
Listing tables