Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- db.indexInverse.find({_id:ObjectId("5a153409b9c52933c8aab068")}).pretty()
- Document vraiDoc = collectionIndexInverse.find(Filters.eq("_id", new ObjectId(""" + idDoc + """))).first();
- Bson query = (Bson) new BsonString("{ _id:ObjectId("" + idDoc + "")}");
- Document vraiDoc = collectionIndexInverse.find(query).first();
- Bson query = (Bson) new BsonString("{ _id:ObjectId(idDoc)}");
- Document vraiDoc = collectionIndexInverse.find(query).first();
Add Comment
Please, Sign In to add comment