Commit Graph

168 Commits

Author SHA1 Message Date
Tomasz Rybarczyk
037486a7ea v2.2.0 2018-04-22 16:53:27 +02:00
Tomasz Rybarczyk
94ed11d6cb README: Cosmetics 2018-04-22 16:52:32 +02:00
Tomasz Rybarczyk
bb493e5983 Migrate tests to purescript-test-unit + Instant fetching + test 2018-04-22 16:47:07 +02:00
Tomasz Rybarczyk
45eb1acb91 Drop scary message from README 2018-04-21 14:32:43 +02:00
Tomasz Rybarczyk
9c006c72ce Handle numeric values using purescript-decimals 2018-04-21 13:12:20 +02:00
paluh
63c21fb220
Merge pull request #15 from abhin4v/patch-1
Makes `Array Foreign` an instance of ToSQLRow
2018-04-21 12:15:15 +02:00
paluh
3e2a2633de
Merge pull request #16 from paluh/master
Upgrade to purescript-aff 4.0.0
2018-04-21 12:05:15 +02:00
paluh
b57833526e
Merge branch 'master' into master 2018-04-21 12:04:03 +02:00
rightfold
f1f792e120
Update README.md 2017-12-06 08:33:54 +01:00
rightfold
e7aceb9ad8
Merge pull request #13 from nwolverson/patch-1
Check callback for undefined
2017-12-06 06:35:40 +01:00
Tomasz Rybarczyk
f6f3328149 Improve coding style a bit 2017-12-05 22:12:01 +01:00
Tomasz Rybarczyk
6a0f231eb7 Upgrade to purescript-aff 4.0.0 2017-12-04 22:43:36 +01:00
Abhinav Sarkar
4178f9005e Makes Array Foreign an instance of ToSQLRow
For when the user wants to convert the values to foreign by themselves.
2017-10-06 19:03:22 +05:30
Nicholas Wolverson
469f9fd2a5 Check callback for undefined
As of 7.0 pg / 2.0 pg-pool the callback is called with `undefined` rather than `null`: https://github.com/brianc/node-pg-pool/blob/master/index.js#L227
2017-08-13 21:32:13 +01:00
rightfold
97583e0cc8
Merge branch 'sledorze-master' 2017-06-13 11:49:28 +02:00
rightfold
13d0fcfb8e
Formatting 2017-06-13 11:49:07 +02:00
Stéphane Le Dorze
49a2465e5f Update Value.purs
Add support for toSQLValue for list an array
2017-06-08 18:05:58 +02:00
Stéphane Le Dorze
146121c025 Create README.md
Highlight the correspondance of pg with it's original github repo.
2017-06-08 14:05:06 +02:00
rightfold
35f9da6f50
Add Foreign instances 2017-06-08 13:56:21 +02:00
rightfold
9cb40b5112
Update copyright year 2017-06-03 16:07:09 +02:00
rightfold
dc4cdda722
Remove purspgpp 2017-06-03 14:07:46 +02:00
rightfold
4fd8c42515
Update readme 2017-06-03 14:00:23 +02:00
rightfold
ac05e01a97
Test withTransaction 2017-06-03 13:59:30 +02:00
rightfold
feadfc2694
Use makeAff instead of importing PS in FFI code 2017-06-03 13:43:30 +02:00
rightfold
c1f9391701
Remove tuple machinery in favour of row types
These are more efficient and provide better error messages.
2017-06-03 13:27:14 +02:00
rightfold
64c84351ec
Add tests 2017-05-06 17:09:05 +02:00
rightfold
a1276bc057
Clarify that purspgpp is optional 2017-05-06 16:52:50 +02:00
rightfold
20dfed3e64 Merge pull request #8 from throughnothing/ps-0.11
Update for PureScript 0.11
2017-05-04 15:03:10 +02:00
William Wolf
862257df9b Update for 0.11 2017-04-20 01:19:05 -07:00
rightfold
552e59ad92
Use more descriptive error messages for invalid row structures 2017-04-18 14:33:43 +02:00
rightfold
e58c71e26c
Add FromSQLValue Number 2017-04-18 14:19:57 +02:00
rightfold
8e09f99502
Make FromSQLRow work on any number of columns 2017-04-14 14:21:48 +02:00
rightfold
a68279e6c4
Add FromSQLValue Boolean instance 2017-04-04 13:33:19 +02:00
rightfold
0566be6dee
Add ToSQLValue Number instance 2017-03-21 11:00:56 +01:00
rightfold
57ca84c05b
Throw Eff exception instead of Partial exception when row structure does not match 2017-03-17 14:56:50 +01:00
rightfold
2979eeb17f
Upgrade to purescript-bytestrings 2.3.0 2017-03-10 10:58:47 +01:00
rightfold
efd988b640
Pass error to done function 2017-03-04 23:09:41 +01:00
rightfold
c14897d6ed Support Instant serialization 2017-01-30 11:12:55 +01:00
rightfold
4589da021b Support any row length in ToSQLRow 2017-01-27 12:55:32 +01:00
rightfold
422e4ce9ae ToSQLValue Boolean 2017-01-27 12:50:12 +01:00
rightfold
4c1577c2b9 Return cancelers from Aff actions 2017-01-27 09:45:47 +01:00
rightfold
30c1b2b573 Support OS X 2017-01-17 12:20:52 +01:00
rightfold
a8c34f37f9 Add Maybe support 2017-01-12 19:23:43 +01:00
rightfold
b9c7dbedea Add scalar convenience function 2017-01-12 17:12:59 +01:00
rightfold
9609e8c94f Add support for Int 2017-01-12 16:52:02 +01:00
rightfold
ada69d008a Add ByteString support
Fixes #5.
2017-01-07 15:30:31 +01:00
rightfold
53d1c6630a Add return types more consistently 2016-12-26 02:45:16 +01:00
rightfold
c759418c67 Use Tuple in favor of × 2016-12-26 02:43:06 +01:00
rightfold
8d7af01288 Add pg npm library note to readme 2016-12-25 23:58:29 +01:00
rightfold
15a86ad15b Read OID–PureScript mappings from a configurable file in purspgpp
Fixes #4.
2016-12-25 02:12:00 +01:00