An Elixir interface to the lib_pg_query postgres query parser.
{:ok, ast} = PgQuery.parse("select * from a_table")
This package is not currently published to Hex
The package can be installed by adding pg_query_ex
to your list of
dependencies in mix.exs
:
def deps do
[
{:pg_query_ex, github: "electric-sql/pg_query_ex"}
]
end
This Elixir interface is distributed under the terms of the Apache 2.0 license.
The codebase also contains a git-subtree snapshot of lib_pg_query which is distributed under the BSD 3-Clause license.
See the Community Guidelines including the Guide to Contributing and Contributor License Agreement.