Thanks to visit codestin.com
Credit goes to github.com

Skip to content

API documentation bug #1041

@aantipov

Description

@aantipov

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions