I know that in constructing a query for MongoDB, I can use gt() or gte(). However, if I use a repository, how do I do a GreaterThanOrEqualTo?
So, I have a lookup document that has the following fields:
Now, I want to find the interest rate for an account type of "checking" with a date of 1/1/2013.
How would I do that?
The problem is I need GreaterThanOrEqualTo and LessThanOrEqualTo.
findByAccountTypeAndEffectiveBeginGreaterThanAndEffectiveEndLessThan(String accountType, Date effectiveBegin, Date effectiveEnd);
Is there a way?