Why filtering by import_created_at does not work? I have a Spring Boot Application and MongoDB as database. I have Mongo collection items and 2 documents there: I have entity classes for items: and and and and and And I have repository class: When I call the repo method findAllByFilters without filters (only by contractId = 1) it returns 2 documents
Tag: aggregation
Aggregation Annotation Not Working It is Returning Empty
I am trying to make this Aggregation bellow using Spring Java, but it’s returning an Empty List on my console. This is working on MongoDB, but not on my spring application. This is my MongoDB Query: It’s return me 2 results: My Problem is when I do this using Mongo with Spring Java: My Repository A part of My Service