Debian Codegraph @

test/command/suite/load/each/brace.test

raw
1 table_create Users TABLE_HASH_KEY ShortText
2 column_create Users location COLUMN_SCALAR WGS84GeoPoint
3 column_create Users distance_from_tokyo_tocho COLUMN_SCALAR UInt32
4
5 load --table Users \
6 --each 'distance_from_tokyo_tocho = geo_distance(location, "128481998x502890001")'
7 [
8 {"_key": "yurakucho", "location": "128429532x503148672"},
9 {"_key": "asagaya", "location": "128536272x502686360"}
10 ]
11
12 select Users