Commit Graph

83 Commits

Author SHA1 Message Date
Eric Easley
970deabfc2 Add ToBaseId 2016-02-06 16:47:26 -08:00
Richard Zetterberg
a8dd97354e Adds example usage of 'in_' operator 2015-12-31 19:16:02 +01:00
Jack Bowman
6e01b0f7f3 documentation: add missing word in (%)'s docs 2015-12-30 22:25:34 -05:00
Felipe Lessa
d350b4d2c7 countDistinct, countDistinctRows. 2015-08-11 12:05:24 -03:00
Felipe Lessa
555faaeaac castString, SqlString for Maybe. 2015-08-05 16:15:11 -03:00
Felipe Lessa
1cfe1b11df Add PersistField constraint to SqlString. 2015-08-05 16:13:46 -03:00
Felipe Lessa
78a7fcdaeb New SqlString class, ditch IsString. 2015-08-05 15:54:16 -03:00
Felipe Lessa
871708987d New justList function. 2015-08-05 15:41:10 -03:00
Felipe Lessa
f32c98c412 New functions castNum and castNumM. 2015-07-15 14:20:13 -03:00
Felipe Lessa
39bc711563 Move lower_ around. 2015-07-15 14:19:46 -03:00
Felipe Lessa
9552180629 Add support to simple locking clauses. 2015-06-27 12:32:49 -03:00
Felipe Lessa
29eb0d8be3 Explicitly state multiple 'orderBy's work (closes #103). 2015-06-20 23:50:47 -03:00
Felipe Lessa
80beea1e67 New convenience function distinctOnOrderBy. 2015-06-19 23:47:16 -03:00
Felipe Lessa
b8814fb09a Make distinctOn work like orderBy via 'don'. 2015-06-19 22:47:41 -03:00
Felipe Lessa
a1a09e736f New distinct, distinctOn. Deprecate old specializations. 2015-06-19 15:45:15 -03:00
Felipe Lessa
0e734e79e0 Bump version to 2.2.3. 2015-05-20 13:48:04 -03:00
Maciej Bielecki
2397ddf12b Add ILIKE operator 2015-05-20 06:10:28 +02:00
Felipe Lessa
07bd23f810 Add links to most identifiers on esqueleto docs. 2015-05-12 12:56:44 -03:00
Felipe Lessa
4724560cb6 Fix more JOIN doc inaccuracies. 2015-05-12 12:56:11 -03:00
Felipe Lessa
88d0202000 Improve groupBy doc. 2015-05-12 12:51:47 -03:00
Felipe Lessa
5763a9d963 Fix comment about JOIN fixity. 2015-05-12 12:34:58 -03:00
Felipe Lessa
e4ccc4ecdc Fix markup for backticks ` and double quotes " on Haddocks.
Actually, the old form of backticks works on my Haddock, but somehow
doesn't on Hackage's Haddock.  This second form is still valid although
ugly, and works on my Haddock as well.  From reading Haddock's
documentation and source code, I don't think there's a canonical way of
writing this markup.
2015-05-12 12:32:45 -03:00
Felipe Lessa
a79144326a Merge pull request #97 from Philonous/joins
fix rendering of joins
2015-04-27 17:01:11 -03:00
Philipp Balzarek
603023a579 don't match on clauses with cross joins 2015-04-21 19:37:36 +02:00
Philipp Balzarek
b0b40a07ff make join constructors left-associative 2015-04-21 18:52:26 +02:00
Alexandr Kurilin
b46c52d7b2 Add support for lower() function 2015-04-03 16:29:17 -07:00
Felipe Lessa
40c4528540 Bump version to 2.1.2. 2014-11-03 12:27:46 -02:00
Felipe Lessa
88553f657d Punctuation. 2014-11-03 12:27:25 -02:00
Paul Berens
ebe9185ef2 Test improvement and documentation improvements 2014-11-02 14:50:30 -08:00
Paul Berens
d690e0b425 Implement CASE support
* This seems to work but I don't have in-depth tests yet
 * I seem to still have some oddity here and there which needs to be
 nailed down
 * This only implements the "full" CASE syntax, not the simplified, and
 it makes ELSE mandatory, (its optional with CASE)
2014-11-02 01:31:54 -07:00
Felipe Lessa
ba577a0111 Functor Value. 2014-07-12 12:00:54 -03:00
Felipe Lessa
bfdb140e46
Bump version to 1.4.3. 2014-07-12 00:27:23 -03:00
Mitchell Rosen
22f03c2e39 change coalesceDefault argument order 2014-07-11 19:51:01 -07:00
Mitchell Rosen
e735378f90 added coalesce/coalesceDefault functions 2014-07-11 16:03:04 -07:00
Felipe Lessa
46fa0cafcf Export an unValue function. 2014-05-08 10:55:08 -03:00
Felipe Lessa
b04be7d615 Small doc improvements. 2014-05-08 10:47:51 -03:00
Felipe Lessa
466de1f96b Add "since" to rand's doc. 2014-04-08 19:31:51 -03:00
Erik de Castro Lopo
d37331e04d Implement orderBy[rand] modifier. 2014-04-09 05:56:25 +10:00
João Cristóvão
753e4bccac Added num class restriction to random, round_, floor_. 2013-09-19 09:30:16 +01:00
João Cristóvão
0033050806 Merge branch 'master' of github.com:meteficha/esqueleto 2013-09-15 21:57:04 +01:00
Felipe Lessa
c5c76959bd Move public insertSelect API to Language module. 2013-09-15 04:03:40 -03:00
João Cristóvão
161621cbd4 sum_ result type may not be the same as the parameters type. 2013-09-11 10:48:12 +01: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
Sam Anklesaria
3641f36326 added tests for math and aggregation functions 2013-07-03 15:46:22 +09:00
Sam Anklesaria
30c321ee03 common math and aggregation sql functions 2013-07-02 19:39:17 +09:00
Felipe Lessa
d056545c3e Bump version to 1.2.2. 2013-05-20 12:35:54 -03:00
Takahiro HIMURA
893f1cd54b Add HAVING support. 2013-05-19 08:21:52 +09:00
Felipe Lessa
1e633a8dd9 Upgrade to persistent 1.2 and bump version to 1.2.
Note that version 1.1 was skipped for the sake of bringing
esqueleto's version to parity with persistent's.
2013-04-29 18:21:44 -03:00