Add Group, Limit, Map, Sort functions

Signed-off-by: davidarendsen <davidarendsen@hey.com>
This commit is contained in:
davidarendsen 2022-08-10 16:09:29 +00:00
commit 147b2d9017
11 changed files with 252 additions and 2 deletions

View file

@ -11,7 +11,7 @@ final class KeyValueExpressionTest extends TestCase {
$keyvalue = KeyValue::setEqualTo('_measurement', 'test_measurement')
->andEqualTo('_field', 'user')
->or('count', '>=', '1')
->and('user', '==', 'my_username')
->and('user', KeyValue::EQUAL_TO, 'my_username')
->orNotEqualTo('test', 'world');
$query = 'r._measurement == "test_measurement" and r._field == "user" or ' .