Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 1.67 KB

README.md

File metadata and controls

48 lines (35 loc) · 1.67 KB
ElectricSQL logo

License - Apache 2.0

PgQuery

An Elixir interface to the lib_pg_query postgres query parser.

{:ok, ast} = PgQuery.parse("select * from a_table")

Installation

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

License

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.

Contributing

See the Community Guidelines including the Guide to Contributing and Contributor License Agreement.