walkable-server / walkable

A Clojure(script) SQL library for building APIs: Datomic® (GraphQL-ish) pull syntax, data driven configuration, dynamic filtering with relations in mind
https://walkable.gitlab.io/
Eclipse Public License 2.0
445 stars 15 forks source link

Improve :aggregators #88

Closed myguidingstar closed 3 years ago

myguidingstar commented 6 years ago

or check existence

myguidingstar commented 6 years ago
{:joins {:artile/liked-by-count [:article/id :favorite/article-id :favorite/user-id :user/id]
;; exaggerated count by 100!!! :D
:aggregate-joins {:article/liked-by-count [:+ 100 [:count*]}}
myguidingstar commented 6 years ago

aggregate-joins implemented in #94 Check exist is more complicated Can't use aggregate-joins in filters yet

myguidingstar commented 6 years ago

Improvement to be made:

myguidingstar commented 5 years ago

will be part of #137

myguidingstar commented 3 years ago

implemented except EXISTS, which has its own issue now #150