From 359f6f14b08a6c8eed8cdef3fec0e090d8d1c54a Mon Sep 17 00:00:00 2001 From: "Elf M. Sternberg" Date: Tue, 12 Jul 2016 15:34:28 -0700 Subject: [PATCH] Fixing typos, adding examples. --- README.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 7b3d62f..9003b65 100644 --- a/README.rst +++ b/README.rst @@ -13,15 +13,15 @@ Example ------- I created these handlers to help with finding nested folders in my music -catalog program, `Catalogia_`. +catalog program, `Catalogia`. -``SELECT dirname(mp3a.path) AS parent, - dirname(mp3b.path) AS child +.. code-block:: sql + SELECT dirname(mp3a.path) AS parent, + dirname(mp3b.path) AS child FROM catalog_mp3 AS mp3a, catalog_mp3 AS mp3b WHERE dirname(mp3a.path) != dirname(mp3b.path) AND ('^' || dirname(mp3b.path)) ~ dirname(mp3a.path); -`` By the way, that's *hideously* inefficient, but it worked as a demo!