Commit Graph

185 Commits

Author SHA1 Message Date
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
paluh
3363bffce8
Merge pull request #26 from akheron/issue-24
WIP: Avoid `UnhandledPromiseRejectionWarning` on integrity errors
2018-10-20 20:35:29 +02:00
Petri Lehtinen
9eb66e7068 Avoid UnhandledPromiseRejectionWarning on integrity errors 2018-10-12 08:01:34 +03:00
Tomasz Rybarczyk
13eb0ef583 Cosmetics 2018-10-08 16:08:30 +02:00
Tomasz Rybarczyk
9ae93cede4 Add test for DELETE query which returns removed rows. 2018-10-08 15:57:33 +02:00
paluh
624cf730e6
Merge pull request #22 from Kamirus/master
sql value for Object
2018-09-06 13:17:50 +02:00
Kamirus
248058bf2f sql value for Object 2018-09-06 12:15:05 +02:00
paluh
eb937a4a60
Merge pull request #21 from Kamirus/master
type support for jsdate
2018-09-05 18:19:02 +02:00
Kamirus
0a01eec77b remove datetime 2018-09-05 18:13:49 +02:00
Kamirus
eadcc58da1 type support for jsdate 2018-09-05 09:59:30 +02:00
paluh
652cb4f78e
Merge pull request #20 from Kamirus/master
tests for 0.12
2018-09-04 19:00:14 +02:00
Kamirus
9ed14c1bb5 tests for 0.12 2018-09-04 15:30:02 +02:00
paluh
ebf25a87d2
Merge pull request #19 from adamczykm/master
Migrate to Purescript 0.12.
2018-09-03 01:37:33 +02:00
adamczykm
bead426f14 Migrate to Purescript 0.12. 2018-07-15 19:51:17 +02:00
Tomasz Rybarczyk
bceb1e399d v2.3.0 2018-04-24 16:40:15 +02:00
Tomasz Rybarczyk
ed2ce9e592 Handle date with parsing on PS side 2018-04-22 18:15:43 +02:00
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