From 53a278cdd70e49b3dfc9bc7fa124d1db8c8cf605 Mon Sep 17 00:00:00 2001 From: Valentin Waeselynck Date: Thu, 25 Oct 2018 10:19:50 +0200 Subject: [PATCH] fixed some typos in tutorial --- test/d2q/test/example/persons.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/d2q/test/example/persons.clj b/test/d2q/test/example/persons.clj index 2b9cce3..d5b3e62 100644 --- a/test/d2q/test/example/persons.clj +++ b/test/d2q/test/example/persons.clj @@ -120,7 +120,7 @@ ;;;; Normalized query form ;; The query syntax that we used above is actually a shorthand syntax -;; for a more verbosed 'normalized' form. +;; for a more verbose 'normalized' form. ;; The above query is equivalent to this query in normalized form: @@ -526,7 +526,7 @@ (for [[ent-i person-entity] j+entities :let [person-id (:person-id person-entity) person-row (get (:myapp.db/persons-by-id db) person-id)] - :when (some? person-id) + :when (some? person-row) :let [father-id (:myapp.person/father-id person-row) mother-id (:myapp.person/mother-id person-row)] [fcall-i fcall] i+fcalls