update for current ubm2 document

This commit is contained in:
Paul Trowbridge 2018-05-21 00:02:08 -04:00
parent 8728809ddc
commit 3c4d9772bb

View File

@ -32,12 +32,13 @@ copy
select select
$$ $$
{ {
"destination_addresses" : [ "New York, NY, USA" ], "id": 1,
"origin_addresses" : [ "Washington, DC, USA" ], "doc": {
"rows": [ "rows": [
{ {
"elements": [ "elements": [
{ {
"status": "OK",
"distance": { "distance": {
"text": "225 mi", "text": "225 mi",
"value": 361940 "value": 361940
@ -45,13 +46,19 @@ $$
"duration": { "duration": {
"text": "3 hours 50 mins", "text": "3 hours 50 mins",
"value": 13812 "value": 13812
}, }
"status" : "OK"
} }
] ]
} }
], ],
"status" : "OK" "status": "OK",
"origin_addresses": [
"Washington, DC, USA"
],
"destination_addresses": [
"New York, NY, USA"
]
}
} }
$$::JSONB DOC $$::JSONB DOC
) )