yoga-postgres

PureScript bindings for node-postgres.


License
MIT
Install
psc-package install yoga-postgres

Documentation

💾 purescript-yoga-postgres

Note: This is a fork of purescript-node-postgres (MIT Licence).

PureScript bindings for the pg library (node-postgres on GitHub).

Installation

Clone the project and install its dependencies:

npm install pg --save
spago install yoga-postgres

Building

Build:

spago build
# or
npm run build

Testing

# start a postgres database
docker-compose up

Then run the tests:

spago -x test.dhall test
# or
npm run test