v7.1.1 Edit file and could not query back

Tithrottanak You shared this problem 54 days ago
In Progress

Hi,


I have metadata in file that is ObjectId like this :


metadata : {

"_id" : ObjectId("61aae7de1b096202ad506ccf"),

"original_name" : "1638590098138.png",

}


when I edit file by upload a new file then I could not query back with this query:


db.getCollection("attachments.files").find({

"metadata._id" : ObjectId("61aae7de1b096202ad506ccf"),

}).sort({_id:-1})


But I could query with anything else beside ObjectId.


NosqlBooster Version 7.1.1

pls check it.

Replies (1)

photo
1

If you are reporting a bug, please use "Menu->Help->Feedback/Support-> Bug Report" to send your bug report.

Leave a Comment
 
Attach a file