mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-08-01 15:04:11 +02:00
option, not object, refs #310
This commit is contained in:
parent
15758d02fd
commit
3fb1034e86
1 changed files with 1 additions and 1 deletions
|
|
@ -729,7 +729,7 @@ 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.
|
||||
|
||||
If your data is nested you can use the `--flatten` object to create columns that are derived from the nested data.
|
||||
If your data is nested you can use the ``--flatten`` option to create columns that are derived from the nested data.
|
||||
|
||||
Consider this example document, in a file called ``log.json``::
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue