It is what I've been doing. But lets say that I have a business rule to update the value of column
b based on the value of column
a. If column
a is bigger than 100, then column
bwould be 1, otherwise 0.
Giving the current scenario, one would have to select all the records and iterate through them to check if the business logics was rightfully applyed.
With the feature that I'm asking for, one should only do a:
$I->dontHaveInDatabase('Model', ['a > 100', ['b not in', [1, null]]]);
Or something like that.