I know I can do
myBox.query().less(BasicAchievement_.currentSteps, 5);
But I want to be able to do
myBox.query().less(BasicAchievement_.currentSteps, BasicAchievement_.totalSteps)
Is this possible? I assume it would be. If not, can I join two 'tables' together (I can only really think in SQL terms, sorry)
I guess I'm asking for the equivalent of
SELECT * FROM myTable WHERE currentSteps < totalSteps;