mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 01:14:31 +02:00
Corrected tiny mistake in --flatten examples
This commit is contained in:
parent
8757de84b2
commit
ee469e3122
1 changed files with 2 additions and 2 deletions
|
|
@ -746,7 +746,7 @@ Consider this example document, in a file called ``log.json``::
|
|||
}
|
||||
}
|
||||
|
||||
Inserting this into a table using ``sqlite-utils insert logs.db log log.json`` will create a table with the following schema::
|
||||
Inserting this into a table using ``sqlite-utils insert logs.db logs log.json`` will create a table with the following schema::
|
||||
|
||||
CREATE TABLE [logs] (
|
||||
[httpRequest] TEXT,
|
||||
|
|
@ -754,7 +754,7 @@ Inserting this into a table using ``sqlite-utils insert logs.db log log.json`` w
|
|||
[labels] TEXT
|
||||
);
|
||||
|
||||
With the ``--flatten`` option columns will be created using ``topkey_nextkey`` column names - so running ``sqlite-utils insert logs.db log log.json --flatten`` will create the following schema instead::
|
||||
With the ``--flatten`` option columns will be created using ``topkey_nextkey`` column names - so running ``sqlite-utils insert logs.db logs log.json --flatten`` will create the following schema instead::
|
||||
|
||||
CREATE TABLE [logs] (
|
||||
[httpRequest_latency] TEXT,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue