In the docs Strongloop does not talk about a common condition: using a WHERE filter with a Order filter.
Example: Customers WHERE name='John' ORDER BY 'birthdate' DESC LIMIT 5
Customers.find({where:{'userId':'John'},{order:'birthdate DESC',limit:5}},...
Anyone have the right syntax? It runs but it's not giving the right answer. It's not applying the ORDER filter nor the limit filter.
Thank you