Home > Back-end >  Mongdb statement into a Java problem?
Mongdb statement into a Java problem?

Time:09-16

Consult a mongdb statement into a Java problem,

I have a business needs to be grouped on a field and to take a time recently, but mongdb statement execution and in the amount of execution in Java, Java which place is wrong, please? The following map

Mongo:



In Java:



Object:



SupplierHotelId when a total of over 170 Java performs all of the id, so no impact, mongdb execute statement query result is 170, carried out more than 800 in Java,
Thank you very much!

CodePudding user response:

You see if you have duplicate data

CodePudding user response:

CreateTime has a problem, what is in the mongo data types? Ms is converted in Java code?
  • Related