Debian Codegraph @

test/command/suite/load/each/bracket.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", "location"],
9 ["yurakucho", "128429532x503148672"],
10 ["asagaya", "128536272x502686360"]
11 ]
12
13 select Users