PostgresSigil.Postgrex (postgres_sigil v0.4.0)

Provides functions to run queries with Postgrex.

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 Postgrex.query!. We use apply to avoid depending explicitly on Postgrex.

Link to this section Functions

Link to this function

explain_to_file!(query, pid, opts \\ [])

Run the query with explain and write it to a file. This is for debugging during development.

Link to this function

query!(sql, pid)

Syntax sugar to build the query string & pass it and bindings to Postgrex.query!. We use apply to avoid depending explicitly on Postgrex.