Re: [clojure-mongodb] $slice

32 views
Skip to first unread message

Michael Klishin

unread,
May 14, 2013, 7:00:21 AM5/14/13
to Monger, a Clojure MongoDB driver

2013/5/14 mike <mikem...@gmail.com>
Is the $slice projection operator currently supported in Monger, and if so how would you write a query for it?

The same as you would in mongo shell.

Operators can be strings or vars from the monger.operators namespace. $slice is missing in monger.operators
but you can use a string.
--
MK

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

mike

unread,
May 14, 2013, 7:11:45 AM5/14/13
to clojure...@googlegroups.com
Thank you.
Reply all
Reply to author
Forward
0 new messages