We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
If I define a model with a custom scope like this:
"scopes": { "active": { "where": { "status": "active" } } }
When I call it from client code MyModel.active(), this does not return a promise, it requires a callback argument.
MyModel.active()