v0.12.0 (2024-06-07)
Fix
- fix: ObjectResponse with fields not compatible with Tile38 v1.30.0 (
6272e70
)
Feature
- feat: support FEXISTS command as of tile38 v1.33.0 (
12f900d
)
await tile38.set('fleet', 'truck1')
.fields({ "weight": 9000 })
.point(33.5123, -112.2693)
.exec()
# Validate if `field` exists on id.
resp = await tile38.fexists('fleet', 'truck1', 'weight')
print(resp.exists)
# > True
resp = await tile38.fexists('fleet', 'truck1', 'mileage')
print(resp.exists)
# > False
- feat: support EXISTS command as of tile38 v1.33.0 (
39e0593
)
await tile38.set('fleet', 'truck')
.point(33.5123, -112.2693)
.exec()
# validate if id exists in collection
resp = await tile38.exists('fleet', 'truck')
print(resp.exists)
# > True
resp = await tile38.exists('fleet', 'bobbycar')
print(resp.exists)
# > False