purescript-postgresql-client/README.md
2018-04-22 16:52:32 +02:00

600 B

purescript-postgresql-client

purescript-postgresql-client is a PostgreSQL client library for PureScript.

Install

To use this library, you need to add pg and decimal.js as an npm dependency. You can also find first of them on [https://github.com/brianc/node-postgres][pg].

Generating SQL Queries

The purspgpp preprocessor has been replaced by sqltopurs, which is a code generator instead of a preprocessor, and easier to use.

Testing

To run tests you have to prepare "purspg" database and use standard command: pulp test.