-
Notifications
You must be signed in to change notification settings - Fork 0
Condition
Krzysztof Żyłka edited this page Dec 30, 2022
·
5 revisions
use \krzysztofzylka\DatabaseManager\Condition;
$condition = (new Condition())
->where('user.id', '1');
$condition2 = (new Condition())
->where('user.id', '3', '>=');
$conditionNotAllowUser = (new Condition())
->orWhere(
(new Condition())
->where(['user.blocked', 0])
->where(['user.disabled', 0])
);
- Where [>= 1.0.0]
- orWhere [>= 1.0.0]
- andWhere [>= 1.0.0]
Compatible with v1.0.3