2014-02-28 14:35 GMT+04:00 xavi <xavi.caba...@gmail.com>:

> When asked (a year ago) why I didn't use Monger I said I prefer CongoMongo
> because it's smaller and so probably easier to understand
>

Monger's API follows MongoDB shell. CongoMongo invents a completely new
API. I'll let you decide which one is easier to understand.


>
> Not having used Monger, I don't know what you mean by "much richer
> composable DSL", but in general I don't like using specific DSLs for
> something that it already has its own language (I mean that MongoDB already
> has a query language, so I prefer to use something as close as possible to
> that, not another abstraction on top of that with its own limitations and
> problems that at the ends doesn't save me from having to learn the original
> language).


Monger's query DSL is documented and completely optional:
http://clojuremongodb.info/articles/querying.html#monger_query_dsl

If you don't use it, you query/update/etc using the same constructs as in
Mongo shell.
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to