mongodb calls on DB's rather than collections
When I do a
find
on a mongoclient
rather than a collection
I get a cursor with the proper looking data but without
.hasNext()
, .next()
.map()
or .toArray()
defined on it as I would if I was using
collection.find
Is there a way for me to attach them?
It looks like this normally defined in class CommandCursor<T>
in
denodrivers/mongo/src/protocol/1 Reply
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View