Commit Graph

279 Commits

Author SHA1 Message Date
Felipe Lessa
41d4cb283a GHC 7.10. 2015-04-06 23:37:48 -03:00
Michael Snoyman
69a4ec0c44 Fix test suite for new SqliteException
Sorry for the breakage @meteficha, and hope you don't mind that I'm
deploying this to Hackage.
2015-03-29 08:29:49 +03:00
Felipe Lessa
abf91a1352 Bump version to 2.1.2.1. 2014-11-24 15:04:11 -02:00
Felipe Lessa
2d4a10c1e8 Merge pull request #84 from bermanjosh/patch-1
INSERT INTO SELECT typo
2014-11-24 15:02:36 -02:00
Josh Berman
8579010409 INSERT INTO SELECT typo 2014-11-17 17:19:45 +02: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
Felipe Lessa
9ae1273360 Merge pull request #81 from pharaun/case_support
Case support
2014-11-03 12:24:00 -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
c13807e6ea Bump version to 2.1.1. 2014-10-23 09:13:04 -02:00
Felipe Lessa
6efe4848c0 text-1.2 2014-10-23 09:12:50 -02:00
Michael Snoyman
a26394d072 persistent 2.1 (pinging @meteficha) 2014-09-30 06:44:15 +03:00
Michael Snoyman
05fbbba86a Support for persistent 2.0.8 2014-09-28 07:05:41 +03:00
Felipe Lessa
17a517f321 Merge pull request #76 from snoyberg/master
Support persistent 2.0.5
2014-09-22 14:59:39 -03:00
Michael Snoyman
bcb620026f Support persistent 2.0.5 2014-09-21 21:34:09 +03:00
Felipe Lessa
e1071c40b6 Bump versions. 2014-09-18 12:15:26 -03:00
Felipe Lessa
87288f9603 Merge pull request #75 from snoyberg/master
Fix for #74
2014-09-18 11:49:20 -03:00
Michael Snoyman
2af4aaf37d Fix for #74 2014-09-18 08:40:05 +03:00
Felipe Lessa
b1753e2605 Merge pull request #66 from fpco/persistent2
Persistent2
2014-09-17 02:29:16 -03:00
Michael Snoyman
4febf46c6a Merge branch 'persistent2' of github.com:fpco/esqueleto
Conflicts:
	esqueleto.cabal
	src/Database/Esqueleto.hs
2014-09-08 09:05:57 +03:00
Michael Snoyman
30964d950d More persistent2 updates 2014-08-27 11:27:36 +03:00
Felipe Lessa
fb36a603f8 isNull doesn't exist :). 2014-07-16 17:14:05 -03:00
Felipe Lessa
e915930b15
Bump version to 1.4.4. 2014-07-12 12:01:08 -03: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
Felipe Lessa
dc285e41ad Merge pull request #71 from mitchellwrosen/coalesce
added coalesce/coalesceDefault functions
2014-07-12 00:26:09 -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
6d985711ea Bump version to 1.4.2. 2014-07-07 23:55:46 -03:00
Felipe Lessa
e91c625ff7 Small doc improvement. 2014-07-07 23:55:38 -03:00
Felipe Lessa
655ff7c1c0 Merge pull request #69 from erikd/master
Add function valJ (was keyE).
2014-07-07 23:54:19 -03:00
Erik de Castro Lopo
41698518c9 Rename keyE to valJ and fix implementation.
As Felipe points out in the PR comments, the implementation can be
simplified to "val . unValue" but the type signature on the function
still prevents anything non-sensical happening.

See: https://github.com/prowdsponsor/esqueleto/pull/69
2014-07-08 10:47:44 +10:00
Erik de Castro Lopo
0b830771ea Add function keyE.
Give a value, keyE lifts the Key for that value into the query expression.

    keyE :: Esqueleto query expr backend =>
            Value (Key entity) -> expr (Value (Key entity))
2014-07-07 19:52:21 +10:00
Felipe Lessa
4c14076d35 Move to prowdsponsor. 2014-07-05 00:41:23 -03:00
Michael Snoyman
deceb9f242 Merge remote-tracking branch 'origin/persistent2' into persistent2
Conflicts:
	esqueleto.cabal
2014-05-26 16:35:23 +03:00
Michael Snoyman
2685cdb7f7 Merge branch 'master' of github.com:meteficha/esqueleto into HEAD
Conflicts:
	esqueleto.cabal
	src/Database/Esqueleto/Internal/Sql.hs
2014-05-26 16:34:34 +03:00
Felipe Lessa
f77ff7b1f7 Bump version to 1.4.1.2. 2014-05-21 14:19:59 -03:00
Felipe Lessa
2be1c1bc20 Reword package description (fixes #65). 2014-05-21 14:19:29 -03:00
Michael Snoyman
3604f768fe Merge pull request #1 from fpco/fpco-all-ghc78
Bump upper bounds for base and text
2014-05-14 08:00:55 +03:00
Emanuel Borsboom
55267dd2d9 Bump upper bounds for base and text 2014-05-13 15:24:26 -07:00
Felipe Lessa
dbe4689cd7
Bump version to 1.4.1. 2014-05-08 10:55:24 -03: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
8e52ef6b51
Major version bump to 1.4.
Although most people's code won't break, this release generalizes many
type signatures and changes the signatures of the conduit versions.
2014-04-23 11:43:12 -03:00
Felipe Lessa
3bd5c8506a Allow esqueleto's functions to be used on top of transformers.
Instead of using SqlPersistT, now it uses MonadSqlPersist.
2014-04-23 11:42:07 -03:00
Michael Snoyman
d47a1a00e3 resourcet 1.1 2014-04-18 14:53:50 +03:00
Felipe Lessa
951f027d68
Bump version to 1.3.12. 2014-04-14 14:58:26 -03:00
Felipe Lessa
ab9e57b2d0 Export veryUnsafeCoerceSqlExprValueList (fixes #62). 2014-04-14 14:57:48 -03:00
Felipe Lessa
a3d3ce0e1d
Bump version to 1.3.11. 2014-04-13 23:55:49 -03:00