strongloop/loopback-datasource-juggler — pull request #130 by raymondfeng (2014-06-02 23:02:31+00:00)
Title: Fix Model.count base implementation and Normalize/validate the query filter

The PR fixes two issues:

1. Fix the count() base implementation using buildWhere() from the sub-class
2. Add logic to normalize/validate the query filter object before delegating to connectors

/to @ritch
/to @bajtos (We'll need to merge them into the loopback-connector repo).