Skip to content

Instantly share code, notes, and snippets.

@Yoosuke
Created June 24, 2019 11:24
Show Gist options
  • Save Yoosuke/8ca28eceb6b5500e571ac7e157523cb2 to your computer and use it in GitHub Desktop.
Save Yoosuke/8ca28eceb6b5500e571ac7e157523cb2 to your computer and use it in GitHub Desktop.
{:ok,
%Postgrex.Result{
columns: ["id", "lat", "lng", "locationName", "inserted_at", "updated_at"],
command: :select,
connection_id: 9839,
messages: [],
num_rows: 5,
rows: [
[1, 52.204267, 0.114909, "ケンブリッジ大学",
~N[2019-06-24 10:00:40.000000], ~N[2019-06-24 10:00:40.000000]],
[2, 51.500729, -0.124625, "ビッグ・ベン",
~N[2019-06-24 10:03:14.000000], ~N[2019-06-24 10:03:14.000000]],
[3, 51.505456, -0.075357, "タワーブリッジ",
~N[2019-06-24 10:04:02.000000], ~N[2019-06-24 10:04:02.000000]],
[4, 51.501364, -0.14189, "バッキンガム宮殿",
~N[2019-06-24 10:05:05.000000], ~N[2019-06-24 10:05:05.000000]],
[5, 51.519413, -0.126957, "大英博物館",
~N[2019-06-24 10:06:09.000000], ~N[2019-06-24 10:06:09.000000]]
]
}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment