Skip to content

Commit 54e6042

Browse files
committed
Add a new operators
1 parent 4f4396e commit 54e6042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JSONDB/QueryParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class QueryParser
7979
* Registered query operators
8080
* @var array
8181
*/
82-
private static $operators = array('!=', '<>', '<=', '>=', '=', '<', '>');
82+
private static $operators = array('%!', '%=', '!=', '<>', '<=', '>=', '=', '<', '>');
8383

8484
/**
8585
* Quotes a value and escape reserved characters

0 commit comments

Comments
 (0)