mirror of https://github.com/tidwall/tile38.git
cf7f49fd9b
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 |
||
---|---|---|
.. | ||
bing | ||
buffer | ||
clip | ||
collection | ||
deadline | ||
endpoint | ||
field | ||
glob | ||
hservice | ||
log | ||
object | ||
server | ||
sstring |