Where A (AND scope B OR scope C) support

Description

Given two scopes from the docs:

Suppose you want to use some more complex paren grouping with OR statements, similar to the example in the QB docs for WHERE (a = ? OR b = ?) AND c = ?, you should be able to do something like this rather contrived example:

But you can't use scopes, either explicitly (.scopeSubscribed() ) or implicitly ( .subscribed() ) on the closure object because the function isn't defined.

This feels related to - it's really a QB feature that you get used to having that'd be great to carry over to Quick.

Status

Assignee

Unassigned

Reporter

Samuel W. Knowlton

Labels

None

Priority

Major
Configure