2020-04-23

MongoDB - Find documents with _ids of the ObjectId type


db.collection_name.find( 
    {"_id": {$type: "objectId"}} 
);

No comments:

Post a Comment