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!