Commit Graph

40 Commits

Author SHA1 Message Date
Tomasz Rybarczyk
751ced6d76 Make most fields optional in PoolConfiguration 2018-10-21 03:24:58 +02:00
Tomasz Rybarczyk
8683419e85 Allow nested tuples to be used as query rows 2018-10-21 03:20:58 +02:00
Tomasz Rybarczyk
c0ac46c00a Improve command docs 2018-10-20 22:34:00 +02:00
Tomasz Rybarczyk
2da6a3a767 Add command function returning command tag value of a query 2018-10-20 22:34:00 +02:00
Petri Lehtinen
9eb66e7068 Avoid UnhandledPromiseRejectionWarning on integrity errors 2018-10-12 08:01:34 +03:00
Kamirus
248058bf2f sql value for Object 2018-09-06 12:15:05 +02:00
Kamirus
eadcc58da1 type support for jsdate 2018-09-05 09:59:30 +02:00
adamczykm
bead426f14 Migrate to Purescript 0.12. 2018-07-15 19:51:17 +02:00
Tomasz Rybarczyk
ed2ce9e592 Handle date with parsing on PS side 2018-04-22 18:15:43 +02:00
Tomasz Rybarczyk
bb493e5983 Migrate tests to purescript-test-unit + Instant fetching + test 2018-04-22 16:47:07 +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
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
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
rightfold
35f9da6f50
Add Foreign instances 2017-06-08 13:56:21 +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
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
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
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
370f8ca6b7 Add documentation comments 2016-12-24 13:38:36 +01:00
rightfold
726edddffd Add "char" to Char mapping 2016-12-24 00:11:23 +01:00
rightfold
001bdeb8c9 Add typed queries 2016-12-22 20:25:17 +01:00
rightfold
50b88ebbf1 Extract from dinote 2016-12-22 19:12:38 +01:00