--raw-lines option, closes #539

This commit is contained in:
Simon Willison 2023-05-07 11:26:03 -07:00
commit 373b7886d2
4 changed files with 70 additions and 3 deletions

View file

@ -239,6 +239,9 @@ For example, to retrieve a binary image from a ``BLOB`` column and store it in a
$ sqlite-utils photos.db "select contents from photos where id=1" --raw > myphoto.jpg
To return the first column of each result as raw data, separated by newlines, use ``--raw-lines``::
$ sqlite-utils photos.db "select caption from photos" --raw-lines > captions.txt
.. _cli_query_parameters: