Skip to content

Commit

Permalink
Merge pull request #8 from AdStage/kt-nested-quries
Browse files Browse the repository at this point in the history
Filtering out nils in nested queries.
  • Loading branch information
currentoor committed Nov 21, 2016
2 parents 1aa73f3 + 3d4a488 commit f4d777b
Show file tree
Hide file tree
Showing 2 changed files with 342 additions and 9 deletions.
3 changes: 2 additions & 1 deletion src/adstage/pluck_api.clj
Expand Up @@ -57,7 +57,8 @@

(and (map? k)
(nil? (get init-result (-> k keys first))))
[])]])))
nil)]])))
(filterv (fn [[k v]] v))
(into {})))

(defn pluck
Expand Down

0 comments on commit f4d777b

Please sign in to comment.