Chris Allen
103fb6bf6b
Fintan remove CPP
2018-02-27 16:45:07 -06:00
Chris Allen
ecace06c37
Merge pull request #62 from bigs/add-nullable-helpers
...
Add withNonNull helper to project nullable values
2018-02-02 11:43:41 -06:00
Chris Allen
29292a4d8c
Merge pull request #66 from stackbuilders/array_remove
...
Add arrayRemove wrapper for PostgreSQL function
2018-01-10 12:52:01 -06:00
Sebastián Estrella
b0abe50812
Add arrayRemove wrapper for PostgreSQL function
2018-01-10 13:34:25 -05:00
Chris Allen
664d36151b
Merge pull request #65 from stackbuilders/array_agg_distinct
...
Add arrayAggDistinct wrapper for PostgreSQL function
2018-01-10 10:37:54 -06:00
Sebastián Estrella
ea6f1807a4
Add arrayAggDistinct wrapper for PostgreSQL function
2018-01-10 10:02:44 -05:00
Fintan Halpenny
23466a9494
Merge pull request #64 from illmade/master
...
Postgres Tests
2017-11-30 17:28:25 +00:00
tim
881d9e8eb7
Postgres test instructions with brew instructions
2017-11-30 17:18:23 +00:00
tim
1c8c652e5b
Postgres test instructions
2017-11-30 12:29:48 +00:00
tim
bb19b096c4
Postgres test instructions
2017-11-30 12:27:20 +00:00
tim
ab9e286a9b
Merge branch 'master' of https://github.com/illmade/esqueleto
2017-11-30 12:22:52 +00:00
tim
355a26de02
Postgres test instructions
2017-11-30 12:18:17 +00:00
tim
6e184d651d
Postgres test instructions
2017-11-30 12:14:25 +00:00
Cole Brown
501cf6b266
Add withNonNull helper to project nullable values
...
Guards against null values with a where_ call.
2017-10-17 13:25:56 -04:00
Chris Allen
91ea0b0fca
Merge pull request #52 from EdwardBetts/spelling
...
correct spelling mistake
2017-09-01 13:07:55 -05:00
Edward Betts
fcab336fb3
correct spelling mistake
2017-09-01 18:23:53 +01:00
Fintan Halpenny
698c491d73
Big green checks for travis, sweeping the dirty mysql under the rug
2017-08-10 22:00:45 +01:00
Fintan Halpenny
317a24d841
Put sqlite before mysql
2017-08-10 21:48:51 +01:00
Fintan Halpenny
1a88bd85e3
Fixed up some mysql kinks and split out test function. Added new test format to travis yaml.
2017-08-10 21:21:26 +01:00
Fintan Halpenny
dd814584f3
No more CPP
2017-08-09 22:53:28 +01:00
Fintan Halpenny
3f1ffec01a
Cleaning up cabal
2017-08-09 22:50:06 +01:00
Fintan Halpenny
6b0028ed69
Cleaning up code
2017-08-09 22:49:18 +01:00
Fintan Halpenny
1262c3fef9
Split into multiple testing stanzas and modules for backends
...
Common/Test.hs holds all common tests and functionality for the backends
2017-08-09 22:44:30 +01:00
Fintan Halpenny
fe4a78d4b6
Moved all describes tests into their own functions.
...
Factored out the db specific tests and kept the macros as placeholders.
Import everything in the cabal file for now.
Only using the flags to test that everything still works.
2017-08-09 00:19:09 +01:00
Chris Allen
352fca204c
Merge pull request #46 from FintanH/now
...
Now
2017-08-04 09:50:48 -05:00
Fintan Halpenny
672f6e8884
Bumped up time package upper bound to 1.8.0.2
2017-08-04 15:17:12 +01:00
Fintan Halpenny
2f5715470d
The order of the returned values weren't deterministic so switched to shouldMatchList
2017-08-04 15:16:31 +01:00
Fintan Halpenny
406c1ef46c
Added cpp if to check for postgres flag
...
Added deletion of lord and deed entries to allow for a test to pass
2017-08-04 14:10:24 +01:00
Fintan Halpenny
03c9590581
Added lower bound for package
2017-08-04 14:10:17 +01:00
Chris Allen
37e2a88f03
Merge pull request #45 from greydot/newtypes
...
Replace data with newtype in Value and ValueList.
2017-08-03 21:41:59 -05:00
Fintan Halpenny
274b6b2e7c
Uncomment test that was failing
2017-08-03 20:50:00 +01:00
Fintan Halpenny
8eab68a8d3
Removed now from typeclass and moved it to PostgreSQL. Testing for DB clock against machine clock
2017-08-03 20:48:42 +01:00
Fintan Halpenny
013dc19b15
Accidentally committed True default for postgres
2017-08-03 20:47:43 +01:00
Lana Black
a22737bad6
Replace data with newtype in Value and ValueList.
2017-08-03 00:22:41 +00:00
Fintan Halpenny
a4ebae2345
Use type constraint to constrain a to UTCTime
2017-08-02 16:34:46 +01:00
Fintan Halpenny
161914ddbc
Added now_ function. Works in the tests (NOTE: It doesn not work in SQLite). Need to see if there is an answer for constraining the in to only know about time
2017-08-02 13:48:21 +01:00
Chris Allen
9c73a6f517
Merge pull request #43 from bitemyapp/FintanH/errors
...
Cleaning up Esqueleto errors
2017-07-31 10:49:17 -05:00
Chris Allen
bf66a49beb
Spurious ruler
2017-07-31 10:48:03 -05:00
Chris Allen
36acb1e1c2
Move Exception closer to EsqueletoError
2017-07-31 10:36:19 -05:00
Chris Allen
b7df667d3e
Fix spurious Exception instances
2017-07-31 10:36:10 -05:00
Fintan Halpenny
431080611d
Broke out the error types into three seperate sum types with one sum type enumerating them
...
Identified and rewrote all error sections
2017-07-31 10:35:55 -05:00
Fintan Halpenny
b77a0c3e71
Missed some error calls in:
...
*) unsafeSqlBinOpComposite
*) sqlSelectProcessRow in the instance of SqlSelect (SqlExpr InsertFinal) InsertFinal
2017-07-31 10:35:42 -05:00
Fintan Halpenny
0beec06559
Added EsqueletoProblem for throwing internal esqueleto problems.
...
Replaced all "error" calls to use throw instead.
2017-07-31 10:34:55 -05:00
Chris Allen
2867517729
Export From
2017-07-25 13:53:20 -05:00
Chris Allen
ff87a31951
Export From
2017-07-25 13:48:19 -05:00
Chris Allen
9109d327c3
postgres database
2017-07-25 13:29:56 -05:00
Chris Allen
9350894518
derp, no sudo
2017-07-25 13:26:30 -05:00
Chris Allen
cf342648cd
Minor test cleanup
2017-07-25 13:15:40 -05:00
Chris Allen
e67422a803
Merge pull request #40 from FintanH/examples
...
Examples
2017-07-25 11:25:14 -05:00
Fintan Halpenny
de2d9f8a0b
Got a working example of cascading delete but it requires a select followed by a delete
2017-07-23 23:49:34 +01:00