{"repo":"paupino/pg_parse","free":true,"listed":false,"github":"https://github.com/paupino/pg_parse","clone":"git clone https://github.com/paupino/pg_parse.git","description":"PostgreSQL parser for Rust that uses the actual PostgreSQL server source to parse SQL queries and return the internal PostgreSQL parse tree.","language":"Rust","stars":101,"topics":["postgresql","rust"],"license":"MIT","category":"databases-storage","readme_excerpt":"pg parse &emsp; [![Build Status]][actions] [![Latest Version]][crates.io] [![Docs Badge]][docs] =========== [Build Status]: https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fpaupino%2Fpg parse%2Fbadge&label=build&logo=none [actions]: https://actions-badge.atrox.dev/paupino/pg parse/goto [Latest Version]: https://img.shields.io/crates/v/pg parse.svg [crates.io]: https://crates.io/crates/pg parse [Docs Badge]: https://docs.rs/pg parse/badge.svg [docs]: https://docs.rs/pg parse PostgreSQL parser for Rust that uses the actual PostgreSQL server source) to parse SQL queries and return the internal PostgreSQL parse tree. Getting started Add the following to your Cargo.toml Example: Parsing a query What's the difference between pg parse and pg query.rs? The pganalyze organization maintains the official implementation: pg query.rs . This closely resembles the name of the C library also published by the team ( libpg query ). This implementation uses the protobuf interface introduced with version 13 of libpg query . This library similarly consumes libpg query however utilizes the older JSON interface to manage parsing. The intention of this library is to maintain a dependency \"light\" implementation with serde and serde json being the only required runtime dependencies. So which one should you use? You probably want to use the official pg query.rs library as that will continue to be kept closely up to date with libpg query updates. This library will continue","default_branch":null,"files":null,"tree":[],"storefront":"/r/paupino","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/paupino/pg_parse/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}