Package

purescript-yoga-postgres

Repository
rowtype-yoga/purescript-yoga-postgres
License
MIT
Uploaded by
sigma-andex
Published on
2022-05-22T10:40:16Z

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