tile38/internal/field
tidwall cf7f49fd9b Add field path queries for json and comparison operators
It's now possible to query a JSON field using a GJSON path.

   SET fleet truck1 FIELD props '{"speed":58,"name":"Andy"}' POINT 33 -112

You can then use the GJSON type path to return the objects that match the WHERE.

   SCAN fleet WHERE props.speed 50 inf
   SCAN fleet WHERE props.name Andy Andy

Included in this commit is support for '==', '<', '>', '<=', '>=', and '!='.
The previous queries could be written like:

    SCAN fleet WHERE props.speed > 50
    SCAN fleet WHERE props.name == Andy
2022-10-20 11:17:01 -07:00
..
field.go Add field path queries for json and comparison operators 2022-10-20 11:17:01 -07:00
field_test.go Field overhaul 2022-09-19 17:47:38 -07:00
list_binary.go Add field path queries for json and comparison operators 2022-10-20 11:17:01 -07:00
list_struct.go Immutable Object type 2022-09-20 14:20:53 -07:00
list_test.go Add field path queries for json and comparison operators 2022-10-20 11:17:01 -07:00