Hi All,
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.Code:String AccountType; Double interest; Date effectiveBegin; Date effectiveEnd;
How would I do that?
The problem is I need GreaterThanOrEqualTo and LessThanOrEqualTo.Code:findByAccountTypeAndEffectiveBeginGreaterThanAndEffectiveEndLessThan(String accountType, Date effectiveBegin, Date effectiveEnd);
Is there a way?
Thanks,
Tom


Reply With Quote
