Commit Graph

194 Commits

Author SHA1 Message Date
Michael Snoyman
b5ce7cd644 Version bump 2014-01-26 07:37:30 +02:00
Sergei Trofimovich
7ffead2e40 esqueleto.cabal: allow test-1.0 and text-1.1
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2014-01-25 20:27:03 +03:00
Michael Snoyman
20565af0b1 Version bump 2014-01-25 18:20:34 +02:00
Oliver Charles
41cdd9af58 Increase upper bound on HSpec
This allows tests to be built and run when packaging for NixOS.
2014-01-25 11:33:20 +00:00
Michael Snoyman
0d5d427e0d Version bump 2014-01-16 16:03:53 +02:00
Michael Snoyman
646c115257 persistent 1.3 support 2014-01-01 21:38:16 +02:00
Felipe Lessa
6d24a20675 Merge pull request #38 from tlaitinen/master
export SqlSelect class functions to allow creating instances to select m...
2013-11-18 06:31:21 -08:00
Tero Laitinen
f3ff39e898 export SqlSelect class functions to allow creating instances to select more than 16 fields 2013-11-18 14:40:34 +02:00
João Cristóvão
ef577da95c Merge pull request #34 from jcristovao/upstream
Fixed typos.
2013-09-15 10:03:24 -07:00
João Cristóvão
42592501cd Fixed typos. 2013-09-15 18:00:14 +01:00
Felipe Lessa
59deede08a Merge pull request #30 from jcristovao/upstream
PostgreSQL and MySQL support
2013-09-15 09:05:35 -07:00
Felipe Lessa
4e6f25e656 Bump version to 1.3.4.2. 2013-09-15 13:00:57 -03:00
Felipe Lessa
06faf2d0ad Merge remote-tracking branch 'origin/master' 2013-09-15 13:00:49 -03:00
Felipe Lessa
a5c2d8dddb Bump version to 1.3.4.1. 2013-09-15 13:00:14 -03:00
Felipe Lessa
b456b31d65 Merge pull request #29 from snoyberg/master
Fix Haddocks
2013-09-15 08:59:42 -07:00
João Cristóvão
5ff30e7c5c Minor changes 2013-09-15 15:58:13 +01:00
João Cristóvão
1dd2e045b3 Added support for PostgreSQL and MySQL/MariaDB. 2013-09-15 15:47:39 +01:00
Michael Snoyman
f2c2a4ff2e Fix Haddocks 2013-09-15 14:13:49 +03:00
Felipe Lessa
7af17770d0 Bump version to 1.3.4. 2013-09-15 04:16:55 -03:00
Felipe Lessa
33b1fafc2d Thread IdentState through subqueries (fixes #28).
There used to be name clashes if a subquery referenced
an entity that was already being used on the outer query.
Now we thread the outer query's IdentState to its subqueries,
which use it instead of initialIdentState.

Note that clashes still may occur between subqueries of
a query, but I think that's harmless.
2013-09-15 04:16:35 -03:00
Felipe Lessa
c5c76959bd Move public insertSelect API to Language module. 2013-09-15 04:03:40 -03:00
Felipe Lessa
a7d8c99213 Re-order exports related to insertSelect. 2013-09-15 03:52:10 -03:00
Felipe Lessa
53402d726f Add some documentaion to SqlExpr. 2013-09-15 03:27:12 -03:00
Felipe Lessa
e8013a93d4 Saner implementation of existsHelper. 2013-09-15 02:17:29 -03:00
Felipe Lessa
e8af2a30b6 Add tests that expose bug #28. 2013-09-15 02:08:43 -03:00
Felipe Lessa
27aafd8bc2 Merge pull request #27 from jcristovao/upstream
IN works for subList_select assumes ordering.
2013-09-13 14:57:36 -07:00
João Cristóvão
e045bedd8f IN works for subList_select assumes ordering.
Made ordering explicit.
2013-09-13 22:48:20 +01:00
Felipe Lessa
91e480afc6 Bump version to 1.3.3. 2013-08-27 10:33:51 -03:00
Felipe Lessa
3baa2e85e8 Bump hspec dep. 2013-08-27 10:33:45 -03:00
Felipe Lessa
cadce1ce6c Bump version to 1.3.2. 2013-08-09 14:40:51 -03:00
Felipe Lessa
73969604e8 Merge pull request #25 from db81/ohcrap
Fix underscore.
2013-08-09 10:40:28 -07:00
Danny B
d6d528d5a9 Fix underscore. 2013-08-09 14:56:19 +11:00
Felipe Lessa
2eb454ddb2 Bump version to 1.3.1. 2013-08-08 19:54:19 -03:00
Felipe Lessa
f0912e0658 Merge pull request #24 from db81/comma_fix
Fix comma.
2013-08-08 15:53:54 -07:00
Danny B
452861de78 Fix comma. 2013-08-09 09:06:48 +11:00
Felipe Lessa
09aefcd8e7 Bump version to 1.3. 2013-08-08 14:40:24 -03:00
Felipe Lessa
4056e13bef Merge pull request #22 from db81/less_general_max
Less general aggregate functions and NULL handling.
2013-08-08 10:39:28 -07:00
Danny B
e77e056f5b Handle NULL result in avg_ too. 2013-08-08 16:46:01 +11:00
Danny B
068ec9b1ae Proper NULL handling in max_, min_ and sum_.
- return expr (Value (Maybe a))
- add joinV to join nested Maybes in an expr
2013-08-08 15:51:31 +11:00
Danny B
83dc4a433c Make max_, min_ and sum_ less general. 2013-08-07 15:27:29 +11:00
Felipe Lessa
5545adc077 Add unit test for ordering using random_. 2013-07-12 13:22:23 -03:00
Felipe Lessa
19e1432c1e Bump version to 1.2.4. 2013-07-03 11:01:23 -03:00
Felipe Lessa
1851060185 Merge pull request #18 from bogiebro/master
Adding some common functions
2013-07-03 07:00:48 -07:00
Sam Anklesaria
3641f36326 added tests for math and aggregation functions 2013-07-03 15:46:22 +09:00
Sam Anklesaria
4377f2cffa fixed a typo 2013-07-02 19:47:18 +09:00
Sam Anklesaria
024537b592 Merge branch 'master' of git://github.com/meteficha/esqueleto 2013-07-02 19:40:28 +09:00
Sam Anklesaria
30c321ee03 common math and aggregation sql functions 2013-07-02 19:39:17 +09:00
Felipe Lessa
c4240a0839 Bump version to 1.2.3. 2013-07-01 11:07:11 -03:00
Felipe Lessa
66e67e1cff Final touchs on docs. 2013-07-01 11:06:53 -03:00
Felipe Lessa
4b776dd7b6 Merge pull request #16 from bogiebro/master
Insert select statements
2013-07-01 06:58:13 -07:00