If its '_id' you're looking for, your query is wrong.
If the value of 'id' is a string, then it has to be enclosed in string as its a string field, otherwise unwanted results can crop up. But for those 'id' fields which have numeric data, and matches with 12345, Compass does return the documents.
If its '_id' you're looking for, your query is wrong.
If the value of 'id' is a string, then it has to be enclosed in string as its a string field, otherwise unwanted results can crop up. But for those 'id' fields which have numeric data, and matches with 12345, Compass does return the documents.