-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
Hi
I found a bug with documentation of PersistedModel.find method here http://apidocs.strongloop.com/loopback/#persistedmodel-find & here http://docs.strongloop.com/display/public/LB/PersistedModel+class#persistedmodel-find
According to the docs the PersistedModel.find method should return some object, but it actually returns undefined.
It is an asynchronous method, so it can't return 'Array of model instances that match the filter; or Error'.
There are similar errors in other methods too, for example http://apidocs.strongloop.com/loopback/#persistedmodel-findone