mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-11 19:14:10 +02:00
Docs now live at sqlite-utils.datasette.io
This commit is contained in:
parent
8ca35dfb64
commit
6a34426b12
5 changed files with 13 additions and 13 deletions
|
|
@ -427,7 +427,7 @@ You can delete all the existing rows in the table before inserting the new recor
|
|||
|
||||
$ sqlite-utils insert dogs.db dogs dogs.json --truncate
|
||||
|
||||
You can also import newline-delimited JSON using the ``--nl`` option. Since `Datasette <https://datasette.readthedocs.io/>`__ can export newline-delimited JSON, you can combine the two tools like so::
|
||||
You can also import newline-delimited JSON using the ``--nl`` option. Since `Datasette <https://datasette.io/>`__ can export newline-delimited JSON, you can combine the two tools like so::
|
||||
|
||||
$ curl -L "https://latest.datasette.io/fixtures/facetable.json?_shape=array&_nl=on" \
|
||||
| sqlite-utils insert nl-demo.db facetable - --pk=id --nl
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue