dimanche 13 septembre 2015

Mongodb random sample selection but unique and different every time I ask for a new sample

I have Mongo Database, and I want to select a random sample of users, which I found a solution for in different places (including here).

Now, the hard part: How to get a unique and random set of users every time I make a request to mongo that doesn't correlate tp the random sample I received in the (at least) last request.

Thanks!




Aucun commentaire:

Enregistrer un commentaire