[0.8.0]
As of Tile38 1.30.0 object FIELD
s are no longer limited to just numbers and can take any value. On top return values can be filtered using filter-expressions.
previously:
await tile38.set('fleet','truck').fields({'speed':10'}).exec()
await tile38.scan('fleet').where('speed',10,10).asCount()
now:
await tile38.set('fleet','truck').fields({'motor': {'horse_power':'1000'}}).exec()
await tile38.scan('fleet').where_expr('motor.horse_power === 1000').asCount()
Please be aware that every field that is not a number, can only be queried with where_expr()
.
v0.8.0 (2022-12-22)
Feature
- ✨ allow field Any field value (
ddc3f4a
) - ✨ add test helpers (
277679b
) - ✨ implement whereable (
65fa065
)