From 4bd71d96c90d691f0570db72dcacd3d2b07539f1 Mon Sep 17 00:00:00 2001 From: alexandrkozyrev Date: Wed, 16 Dec 2020 14:47:15 +0300 Subject: [PATCH] Update friendly-sql-functions.md --- doc/friendly-sql-functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/friendly-sql-functions.md b/doc/friendly-sql-functions.md index f50db0e..00c85ab 100644 --- a/doc/friendly-sql-functions.md +++ b/doc/friendly-sql-functions.md @@ -235,7 +235,7 @@ At program startup you'll need to call these functions (either at the top-level Those calls will add function definitions to that namespace based on what is in the `.sql` files. Now set up your db-spec and datasource as usual with `next.jdbc`: ```clojure -(def db-spec {:dbytpe "h2:mem" :dbtype "example"}) ; assumes H2 driver in deps.edn +(def db-spec {:dbtype "h2:mem" :dbname "example"}) ; assumes H2 driver in deps.edn (def ds (jdbc/get-datasource db-spec)) ```