You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi s9tpepper,
Could i use mongodb method like count() ,sort() etc.
For now i use find() to get a cusor but maye the result is large but i just need the count of the result set.
In java lib,we can use db.collections.find({'fidel' : 'abc'}).count(); that is quite faster than use cosor.toArray().length;
Any similar solution in mongoAS3?
Thanks
Bat
The text was updated successfully, but these errors were encountered:
No not yet sorry, I'll take a peek at the Java driver and see how they implemented that. I was using the C# driver when I needed to look at a reference, maybe I didn't notice that method.
Hi s9tpepper,
Could i use mongodb method like count() ,sort() etc.
For now i use find() to get a cusor but maye the result is large but i just need the count of the result set.
In java lib,we can use db.collections.find({'fidel' : 'abc'}).count(); that is quite faster than use cosor.toArray().length;
Any similar solution in mongoAS3?
Thanks
Bat
The text was updated successfully, but these errors were encountered: