From 087753cd42c406f1e060c1822dcd9b5fda3d60f4 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sat, 27 Aug 2022 21:01:55 -0700 Subject: [PATCH] sites.db is better name than dogs.db in this example --- docs/cli.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cli.rst b/docs/cli.rst index d071158..ed089ac 100644 --- a/docs/cli.rst +++ b/docs/cli.rst @@ -259,7 +259,7 @@ You can use the ``--functions`` option to pass a block of Python code that defin This example defines a function which extracts the domain from a URL:: - $ sqlite-utils query dogs.db "select url, domain(url) from urls" --functions ' + $ sqlite-utils query sites.db "select url, domain(url) from urls" --functions ' from urllib.parse import urlparse def domain(url):