pg_graphql is OSS. PR and issues are welcome.
Tests are located in
./test/sql with expected output in
To run tests locally, execute:
Interactive PSQL Development
To reduce the iteration cycle, you may want to launch a psql prompt with
pg_graphql installed to experiment
Try out the commands below to spin up a database with the extension installed & query a table using GraphQL. Experiment with aliasing field/table names and filtering on different columns.
1 2 3 4 5 6 7 8
Finally, execute some graphql queries against the table.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
All public API must be documented. Building documentation requires python 3.6+
Install mkdocs, themes, and extensions.
To serve the documentation locally run
and visit the docs at http://127.0.0.1:8000/pg_graphql/