From ee469e3122d6f5973ec2584c1580d930daca2e7c Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Mon, 9 Aug 2021 15:50:53 -0700 Subject: [PATCH] Corrected tiny mistake in --flatten examples --- docs/cli.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/cli.rst b/docs/cli.rst index 063b9e9..0c08526 100644 --- a/docs/cli.rst +++ b/docs/cli.rst @@ -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,