Last active
April 28, 2018 14:33
-
-
Save dideler/617637ed2158f73ed5adddea9481199c to your computer and use it in GitHub Desktop.
Useful Elixir snippets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iex> Ecto.Adapters.SQL.query!(MyApp.Repo, "select 1") | |
%Postgrex.Result{ | |
columns: ["?column?"], | |
command: :select, | |
connection_id: 7250, | |
num_rows: 1, | |
rows: [[1]] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment