mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2025-01-07 13:46:41 +03:00
21 lines
305 B
Plaintext
21 lines
305 B
Plaintext
This example requires user access to PostgreSQL database
|
|
which is named 'testdb' over UNIX domain socket.
|
|
|
|
## Creating 'testdb'
|
|
|
|
% createdb testdb
|
|
|
|
|
|
## Example 1 case
|
|
|
|
% ./1/create.sh
|
|
% runghc -i1 ./1/queryExample.hs
|
|
|
|
...
|
|
|
|
|
|
## Example 3 case
|
|
|
|
% ./3/create.sh
|
|
% runghc -i3 ./3/query.hs
|