Currently, an anonymous global scope is registered in the HasParent trait, which adds a where clause to select only the rows which have the correct childType.
However, in certain cases one might want to disable this particular global scope, so it'd be nice if this scope is named (like singleTableInheritanceFilter as I suggest in this PR).
Currently, an anonymous global scope is registered in the HasParent trait, which adds a where clause to select only the rows which have the correct
childType
.However, in certain cases one might want to disable this particular global scope, so it'd be nice if this scope is named (like
singleTableInheritanceFilter
as I suggest in this PR).