Open
Description
Bug or feature request
- Bug
- Feature request
Description of feature (or steps to reproduce if bug)
- Insert 10 rows in a model/table
- Model.find({where: { nonexistingfield: 'test' } })
- Return 10 rows
Expected result
Return 0 (Memory connector return 0 and MongoDB Connector too)
In case of SQL this should throw an error ?
Actual result (if bug)
Return all the documents/rows
Additional information (Node.js version, LoopBack version, etc)
Only affect SQL connectors using lib/sql.js