Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

mongo find documents that have a certain key

db.coll.find({"mykey":{'$exists': 1}})
 
PREVIOUS NEXT
Tagged: #mongo #find #documents #key
ADD COMMENT
Topic
Name
8+3 =