purescript-postgresql-client/README.md

20 lines
600 B
Markdown
Raw Normal View History

2016-12-24 12:34:27 +00:00
# purescript-postgresql-client
purescript-postgresql-client is a PostgreSQL client library for PureScript.
2016-12-25 22:58:29 +00:00
## Install
To use this library, you need to add `pg` and `decimal.js` as an npm dependency. You can also
2018-04-22 14:52:32 +00:00
find first of them on [https://github.com/brianc/node-postgres][pg].
2018-04-22 14:52:32 +00:00
## Generating SQL Queries
2017-06-03 12:06:09 +00:00
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
2018-04-22 14:52:32 +00:00
To run tests you have to prepare "purspg" database and use standard command: `pulp test`.