boss_db icon indicating copy to clipboard operation
boss_db copied to clipboard

boss_db:find works not correctly with indexed field (mongodb)

Open kutu opened this issue 12 years ago • 0 comments

message model

-module (message, [Id, Message, CreationTime]).

40 seconds screencast

also cannt do right query for "id" field

boss_db:find(message, [], 5, 0, id, num_descending). % just first five entries (w/o sort)
boss_db:find(message, [], 5, 0, '_id', num_descending). % same as for creation_time

kutu avatar Feb 22 '12 11:02 kutu