| 1 |
Execution example:: |
| 2 |
|
| 3 |
column_create --table Site --name location --type WGS84GeoPoint |
| 4 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 5 |
load --table Site |
| 6 |
[ |
| 7 |
{"_key":"http://example.org/","location":"128452975x503157902"} |
| 8 |
{"_key":"http://example.net/","location":"128487316x502920929"}, |
| 9 |
] |
| 10 |
# [[0,1337566253.89858,0.000355720520019531],2] |
| 11 |
select --table Site --query "_id:1 OR _id:2" --output_columns _key,location |
| 12 |
# [ |
| 13 |
# [ |
| 14 |
# 0, |
| 15 |
# 1337566253.89858, |
| 16 |
# 0.000355720520019531 |
| 17 |
# ], |
| 18 |
# [ |
| 19 |
# [ |
| 20 |
# [ |
| 21 |
# 2 |
| 22 |
# ], |
| 23 |
# [ |
| 24 |
# [ |
| 25 |
# "_key", |
| 26 |
# "ShortText" |
| 27 |
# ], |
| 28 |
# [ |
| 29 |
# "location", |
| 30 |
# "WGS84GeoPoint" |
| 31 |
# ] |
| 32 |
# ], |
| 33 |
# [ |
| 34 |
# "http://example.org/", |
| 35 |
# "128452975x503157902" |
| 36 |
# ], |
| 37 |
# [ |
| 38 |
# "http://example.net/", |
| 39 |
# "128487316x502920929" |
| 40 |
# ] |
| 41 |
# ] |
| 42 |
# ] |
| 43 |
# ] |