PostgresSigil.Ecto (postgres_sigil v0.4.0)
Provides functions to run queries with Ecto.
Link to this section Summary
Functions
Run the query with explain and write it to a file. This is for debugging during development.
Syntax sugar to build the query string & pass it and bindings to Ecto.query!. We use apply to avoid depending explicitly on Ecto.
Link to this section Functions
Link to this function
explain_to_file!(query, repo, opts \\ [])
Run the query with explain and write it to a file. This is for debugging during development.
Link to this function
query!(sql, repo)
Syntax sugar to build the query string & pass it and bindings to Ecto.query!. We use apply to avoid depending explicitly on Ecto.