Answers for "how to get the _id from mongodb without objectid in pymongo"

Go
0

get data from pymongo without id

# To get data from pymongo without _id
db.test.find({query},{"_id":0})
# Second tuple denotes the exclude
Posted by: Guest on January-07-2021

Browse Popular Code Answers by Language