skip to Main Content

MongoDB select best matched document

I have a collection of documents like this: [{ "_id" : ObjectId("6347e5aa0c009a37b81da700"), "testField1" : "1000", "testField2" : "2000", "testField3" : NumberInt(1) }, { "_id" : ObjectId("6347e5890c009a37b81da701"), "testField2" : 2000, "testField3" : NumberInt(2) }, { "_id" : ObjectId("6347e5960c009a37b81da702"), "testField3" : NumberInt(3)…

VIEW QUESTION
Back To Top
Search