It might be not implemented with mongo driver, look sources

On Tuesday, September 30, 2014 4:23:57 AM UTC+4, Avelino Puello wrote:
>
> Hi Everybody,
>
> I have a quick question here, I am using the MongoDB adapter with 
> ChicagoBoss 0.8.13 and I am finding an issue when doing a boss_db:find with 
> a limit greater than 1
>
>
> Here is the example:
> boss_db:find(post, [], [{limit,4},{offset,0},{order_by,timestamp}, 
> descending]).
>
> The issue is with the limit part, if I set limit to 1 will work fine( it 
> will return 1 record only), now if I set it to a number greater then 1 
> doesn't matter which one(for example 4) it will return all record in the DB.
>
> Offset, Order_by and DES/ASC work perfectly fine.
>
> I also tried boss_db:find(post, [], [{limit,4}) but same issue as 
> described above, it will only work fine if I do boss_db:find(post, [], 
> [{limit,1})
>
>
> Any help will be greatly apreciated.
>
>
> Thanks!
>

-- 
You received this message because you are subscribed to the Google Groups 
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/chicagoboss/ae1df940-4052-4167-8edb-b5484d13bcc0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to