Skip to content

electric-sql/pg_query_ex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.