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

20 lines
600 B
Markdown

# 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.
[sqltopurs]: https://github.com/rightfold/sqltopurs
## Testing
To run tests you have to prepare "purspg" database and use standard command: `pulp test`.