mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-25 18:34:32 +02:00
sqlite-utils memory --flatten, closes #332
This commit is contained in:
parent
13195d8747
commit
12b8c9de25
3 changed files with 29 additions and 1 deletions
|
|
@ -758,7 +758,7 @@ This also means you pipe ``sqlite-utils`` together to easily create a new SQLite
|
|||
Flattening nested JSON objects
|
||||
------------------------------
|
||||
|
||||
``sqlite-utils insert`` expects incoming data to consist of an array of JSON objects, where the top-level keys of each object will become columns in the created database table.
|
||||
``sqlite-utils insert`` and ``sqlite-utils memory`` both expect incoming JSON data to consist of an array of JSON objects, where the top-level keys of each object will become columns in the created database table.
|
||||
|
||||
If your data is nested you can use the ``--flatten`` option to create columns that are derived from the nested data.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue