Skip to content

Instantly share code, notes, and snippets.

@dideler
Last active April 28, 2018 14:33
Embed
What would you like to do?
Useful Elixir snippets
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