orm icon indicating copy to clipboard operation
orm copied to clipboard

Ability to replace or disable default scope on load

Open roxblnfk opened this issue 5 years ago • 1 comments

https://github.com/cycle/orm/issues/51

$select->load('comments', ['load' => new PublicCmments()])

Now it works so that the new Scope (Constraint) is added to a default global Scope.

It would be very cool to be able to replace or disable a default Scope

roxblnfk avatar Feb 10 '20 12:02 roxblnfk

See other tickets as well, we are going to use new parameter "scope" to replace currently active scope/constrain.

wolfy-j avatar Feb 12 '20 07:02 wolfy-j