From 7ddf5300886a32d6daf60cf1d71efe492b65c87e Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Mon, 13 Jun 2022 08:22:59 -0700 Subject: [PATCH] A less potentially confusing parameter name --- docs/cli.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/cli.rst b/docs/cli.rst index 1fc5a00..9169fba 100644 --- a/docs/cli.rst +++ b/docs/cli.rst @@ -1275,8 +1275,8 @@ The conversion will be applied to every row in the specified table. You can limi You can include named parameters in your where clause and populate them using one or more ``--param`` options:: $ sqlite-utils convert content.db articles headline 'value.upper()' \ - --where "headline like :like" \ - --param like '%cat%' + --where "headline like :query" \ + --param query '%cat%' The ``--dry-run`` option will output a preview of the conversion against the first ten rows, without modifying the database.