Problems using the API and "sort"

h0rst h0rst at localh0rst.de
Thu Aug 4 08:57:41 EDT 2016


Hi!

To be honest, i don't know very much about MongoDB or why this
problem suddenly occured. However, adding an index to the
parameters i want to use for sorting, fixes the problem:

> use genieacsnew
> switched to db genieacsnew
> db.devices.createIndex({_lastInform: 1})

I hope that this won't break anything. Until now, everything 
looks good. But i still have no clue what might have caused 
it.

Kind regards,
Sebastian



More information about the Users mailing list