@@ -242,24 +242,29 @@ The library provides a comprehensive array of operators that are largely
242242consistent across various SQL database engines. To enhance readability, it also
243243prefixes the ` and ` and ` or ` logical operators for clarity.
244244
245- | Operator | SQL Operator | Regular (AND) | AND | OR |
246- | ---------------- | ------------- | ----------------------------- | -------------------------------- | ------------------------------- |
247- | Comparison | ` = ` | ` equals($op1, $op2) ` | ` andEquals($op1, $op2) ` | ` orEquals($op1, $op2) ` |
248- | | ` <> ` or ` != ` | ` notEquals($op1, $op2) ` | ` andNotEquals($op1, $op2) ` | ` orNotEquals($op1, $op2) ` |
249- | | ` < ` | ` lessThan($op1, $op2) ` | ` andLessThan($op1, $op2) ` | ` orLessthan($op1, $op2) ` |
250- | | ` <= ` | ` lessEquals($op1, $op2) ` | ` andLessEquals($op1, $op2) ` | ` orLessEquals($op1, $op2) ` |
251- | | ` > ` | ` greaterThan($op1, $op2) ` | ` andGreaterThan($op1, $op2) ` | ` orGreaterThan($op1, $op2) ` |
252- | | ` >= ` | ` greaterEquals($op1, $op2) ` | ` andGreaterEquals($op1, $op2) ` | ` orGreaterEquals($op1, $op2) ` |
253- | Pattern Matching | ` LIKE ` | ` like($op1, $pattern) ` | ` andLike($op1, $pattern) ` | ` orLike($op1, $pattern) ` |
254- | | ` NOT LIKE ` | ` notLike($op1, $pattern) ` | ` andNotLike($op1, $pattern) ` | ` orNotLike($op1, $pattern) ` |
255- | | ` REGEXP ` | ` regexp($op1, $pattern) ` | ` andRegexp($op1, $pattern) ` | ` orRegexp($op1, $pattern) ` |
256- | | ` NOT REGEXP ` | ` notRegexp($op1, $pattern) ` | ` andNotRegexp($op1, $pattern) ` | ` orNotRegexp($op1, $pattern) ` |
257- | Nullability | ` IS NULL ` | ` null($op) ` | ` andNull($op) ` | ` orNull($op) ` |
258- | | ` IS NOT NULL ` | ` notNull($op) ` | ` andNotNull($op) ` | ` orNotNull($op) ` |
259- | Range | ` BETWEEN ` | ` between($op, $min, $max) ` | ` andBetween($op, $min, $max) ` | ` orBetween($op, $min, $max) ` |
260- | | ` NOT BETWEEN ` | ` notBetween($op, $min, $max) ` | ` andNotBetween($op, $min, $max) ` | ` orNotBetween($op, $min, $max) ` |
261- | Membership | ` IN ` | ` in($op, $array) ` | ` andIn($op, $array) ` | ` orIn($op, $array) ` |
262- | | ` NOT IN ` | ` notIn($op, $array) ` | ` andNotIn($op, $array) ` | ` orNotIn($op, $array) ` |
245+ | SQL Operator | Regular (AND) | AND | OR |
246+ | ------------- | ----------------------------- | -------------------------------- | ------------------------------- |
247+ | Comparison | | | |
248+ | ` = ` | ` equals($op1, $op2) ` | ` andEquals($op1, $op2) ` | ` orEquals($op1, $op2) ` |
249+ | ` <> ` or ` != ` | ` notEquals($op1, $op2) ` | ` andNotEquals($op1, $op2) ` | ` orNotEquals($op1, $op2) ` |
250+ | ` < ` | ` lessThan($op1, $op2) ` | ` andLessThan($op1, $op2) ` | ` orLessthan($op1, $op2) ` |
251+ | ` <= ` | ` lessEquals($op1, $op2) ` | ` andLessEquals($op1, $op2) ` | ` orLessEquals($op1, $op2) ` |
252+ | ` > ` | ` greaterThan($op1, $op2) ` | ` andGreaterThan($op1, $op2) ` | ` orGreaterThan($op1, $op2) ` |
253+ | ` >= ` | ` greaterEquals($op1, $op2) ` | ` andGreaterEquals($op1, $op2) ` | ` orGreaterEquals($op1, $op2) ` |
254+ | Pattern Match | | | |
255+ | ` LIKE ` | ` like($op1, $pattern) ` | ` andLike($op1, $pattern) ` | ` orLike($op1, $pattern) ` |
256+ | ` NOT LIKE ` | ` notLike($op1, $pattern) ` | ` andNotLike($op1, $pattern) ` | ` orNotLike($op1, $pattern) ` |
257+ | ` REGEXP ` | ` regexp($op1, $pattern) ` | ` andRegexp($op1, $pattern) ` | ` orRegexp($op1, $pattern) ` |
258+ | ` NOT REGEXP ` | ` notRegexp($op1, $pattern) ` | ` andNotRegexp($op1, $pattern) ` | ` orNotRegexp($op1, $pattern) ` |
259+ | Nullability | | | |
260+ | ` IS NULL ` | ` null($op) ` | ` andNull($op) ` | ` orNull($op) ` |
261+ | ` IS NOT NULL ` | ` notNull($op) ` | ` andNotNull($op) ` | ` orNotNull($op) ` |
262+ | Range | | | |
263+ | ` BETWEEN ` | ` between($op, $min, $max) ` | ` andBetween($op, $min, $max) ` | ` orBetween($op, $min, $max) ` |
264+ | ` NOT BETWEEN ` | ` notBetween($op, $min, $max) ` | ` andNotBetween($op, $min, $max) ` | ` orNotBetween($op, $min, $max) ` |
265+ | Membership | | | |
266+ | ` IN ` | ` in($op, $array) ` | ` andIn($op, $array) ` | ` orIn($op, $array) ` |
267+ | ` NOT IN ` | ` notIn($op, $array) ` | ` andNotIn($op, $array) ` | ` orNotIn($op, $array) ` |
263268
264269> ** About ` ConditionList ` class**
265270>
0 commit comments