| Total Complexity | 1 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class PgSQL extends \Aimeos\MW\Criteria\SQL |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * Creates a new compare expression. |
||
| 25 | * |
||
| 26 | * Available comparision operators are: |
||
| 27 | * "==": item EQUAL value |
||
| 28 | * "!=": item NOT EQUAL value |
||
| 29 | * "~=": item LIKE value |
||
| 30 | * "=~": item STARTS WITH value |
||
| 31 | * ">=": item GREATER OR EQUAL value |
||
| 32 | * "<=": item SMALLER OR EQUAL value |
||
| 33 | * ">": item GREATER value |
||
| 34 | * "<": item SMALLER value |
||
| 35 | * |
||
| 36 | * @param string $operator One of the known operators |
||
| 37 | * @param string $name Name of the variable or column that should be used for comparison |
||
| 38 | * @param mixed $value Value the variable or column should be compared to |
||
| 39 | * @return \Aimeos\MW\Criteria\Expression\Compare\Iface Compare expression object |
||
| 40 | */ |
||
| 41 | public function compare( $operator, $name, $value ) |
||
| 46 |