{"id":28412213,"url":"https://github.com/electric-sql/pg_query_ex","last_synced_at":"2025-07-07T01:03:22.047Z","repository":{"id":152572577,"uuid":"624054242","full_name":"electric-sql/pg_query_ex","owner":"electric-sql","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-19T13:02:26.000Z","size":6909,"stargazers_count":7,"open_issues_count":5,"forks_count":3,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-06-19T13:49:55.496Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/electric-sql.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-04-05T16:41:07.000Z","updated_at":"2025-04-22T17:38:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"35805967-9b28-4080-8cc2-d2b3e0874dea","html_url":"https://github.com/electric-sql/pg_query_ex","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/electric-sql/pg_query_ex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electric-sql%2Fpg_query_ex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electric-sql%2Fpg_query_ex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electric-sql%2Fpg_query_ex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electric-sql%2Fpg_query_ex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/electric-sql","download_url":"https://codeload.github.com/electric-sql/pg_query_ex/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electric-sql%2Fpg_query_ex/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260764901,"owners_count":23059288,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-02T20:15:29.373Z","updated_at":"2025-07-07T01:03:22.016Z","avatar_url":"https://github.com/electric-sql.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://electric-sql.com\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\"\n        srcset=\"https://raw.githubusercontent.com/electric-sql/meta/main/identity/ElectricSQL-logo-light-trans.svg\"\n    /\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\"\n        srcset=\"https://raw.githubusercontent.com/electric-sql/meta/main/identity/ElectricSQL-logo-black.svg\"\n    /\u003e\n    \u003cimg alt=\"ElectricSQL logo\"\n        src=\"https://raw.githubusercontent.com/electric-sql/meta/main/identity/ElectricSQL-logo-black.svg\"\n    /\u003e\n  \u003c/picture\u003e\n\u003c/a\u003e\n\n[![License - Apache 2.0](https://img.shields.io/badge/license-Apache_2.0-blue)](./LICENSE)\n\n# PgQuery\n\nAn Elixir interface to the [lib_pg_query postgres query parser](https://github.com/pganalyze/libpg_query).\n\n```elixir\n{:ok, ast} = PgQuery.parse(\"select * from a_table\")\n```\n\n## Installation\n\nThe package can be installed by adding `pg_query_ex` to your list of\ndependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:pg_query_ex, \"~\u003e 0.7\"}\n  ]\nend\n```\n\n## License\n\nThis Elixir interface is distributed under the terms of the [Apache 2.0 license](./LICENSE).\n\nThe codebase also contains a git-subtree snapshot of [lib_pg_query](https://github.com/pganalyze/libpg_query) which is distributed under the [BSD 3-Clause license](https://github.com/pganalyze/libpg_query/blob/15-latest/LICENSE).\n\n## Contributing\n\nSee the [Community Guidelines](https://github.com/electric-sql/meta) including the [Guide to Contributing](https://github.com/electric-sql/meta/blob/main/CONTRIBUTING.md) and [Contributor License Agreement](https://github.com/electric-sql/meta/blob/main/CLA.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectric-sql%2Fpg_query_ex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felectric-sql%2Fpg_query_ex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectric-sql%2Fpg_query_ex/lists"}