Closed Neil-UWA closed 8 years ago
We don't have plans to add an unscope method ATM. Would you like to submit a patch?
@0candy I will look into it when I have time.
@Neil-UWA: This might take a while for us to get to. To speed up the process, you can do one of two things:
New issue
button and fill in the template provided to youWill close this issue now as it's been almost a year. Please use option #1
if you still require this.
Will loopback provide a unscope method, just like ruby on rails'
unscope
method.currently, we can unscope by define
Model.defaultScope = function(){}
, and restore it when necessary. But doing this is dangerous.