Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

find record in mongodb with mongodb object id python

from bson.objectid import ObjectId
[i for i in dbm.neo_nodes.find({"_id": ObjectId(obj_id_to_find)})]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #find #record #mongodb #mongodb #object #id #python
ADD COMMENT
Topic
Name
1+8 =