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
I need get one doc by random, so I need know how many are before make the request. Now i'm using collection?limit=1 only for get totalDocs, but is any way to get number of get the number without the doc?
I'm requesting docs with axions so i'm not using const payload.find() for requests.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I need get one doc by random, so I need know how many are before make the request. Now i'm using collection?limit=1 only for get totalDocs, but is any way to get number of get the number without the doc?
I'm requesting docs with axions so i'm not using const
payload.find()
for requests.thanks
Beta Was this translation helpful? Give feedback.
All reactions