Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.08 KB

README.org

File metadata and controls

44 lines (28 loc) · 1.08 KB

PureScript any-db bindings

Caveat

This is alpha quality software.

About

Bindings for node-any-db forked from purescript-node-postgres, with a slightly more fine-grained API.

Installation

I’ll assume you have PureScript and PostgreSQL installed. You’ll also need purescript-pulp and the postgres version of node-any-db:

npm install any-db-postgres any-db-transaction
npm install pulp

Clone the project:

git clone https://github.com/epost/purescript-node-postgres
cd purescript-node-postgres

Create a Postgres database and run the tests:

psql --command="create database test"
cat schema.sql | psql --username=testuser test

Building and running

Let’s run some tests:

pulp test

Usage

See Module documentation.