parsonsmatt
3224e8e6f1
Support persistent-2.13
2021-05-05 12:16:05 -06:00
Michael Snoyman
42eea68fb6
Support persistent 2.12
2021-03-30 21:48:10 +03:00
Michael Snoyman
7839de4dbd
Replace call to connPrepare with getStmtConn ( fixes #1635 )
2019-10-29 13:25:53 +02:00
Maximilian Tagher
837b898b35
Document runDB
...
My coworker who is new to Haskell was pointing out that for such an important function to Yesod, this one is lacking any documentation. It's slightly hard to document because people could provide various implementations for it, but I think this description captures the essence pretty well, and notes the important implicit behavior of opening a transaction.
2019-03-06 11:31:38 -08:00
Ian Duncan
3036573f57
Update yesod-auth and yesod-persistent to persistent-2.9
2018-06-13 09:21:45 +09:00
Michael Snoyman
6830a9840c
Merge branch 'better-monads' into no-transformers
2018-01-17 06:43:52 +02:00
Michael Snoyman
60f65ed267
Cleanup warnings
2018-01-15 15:09:07 +02:00
Evan Rutledge Borden
33d3200399
Fix constraints on get404 and getBy404
...
The constraints on `get404` and `getBy404` were overly powerful. They were
constrained by `PersistStore` and `PersistStoreUnique`, which is an alias for
`PersistStoreWrite...`. These only need `PersistStoreRead...` to accomplish
their job.
2017-11-17 14:28:20 -05:00
Michael Snoyman
3dc2d10b30
Compile with -Wall -Werror
2017-02-05 12:09:18 +02:00
Michael Snoyman
9dbbe030de
Fix compatibility with older persistent #1324
2016-12-20 15:21:36 +02:00
Jason Whittle
d526658c7b
Implement the changes requested by @snoyberg.
2016-12-12 08:18:25 -05:00
Jason Whittle
c573f02d9d
Add insert400 and insert400_, which check for violated uniqueness constraints.
2016-12-12 01:54:27 -05:00
Eric Easley
d99de61554
Use CPP to maintain backward compat
2016-04-18 10:03:39 -07:00
Eric Easley
8e71f766b5
Use PersistRecordBackend constraint synonym
2016-04-15 21:25:40 -07:00
Eric Easley
8a9a78bd4c
Generalize defaultGetDBRunner
2016-04-10 23:38:44 -07:00
Eric Easley
7b35665d73
Adjust yesod-persistent for split DB
2016-02-07 19:11:41 -08:00
Mikkel Christiansen
d556fc8844
Replace deprecated Connection type.
2015-08-26 15:26:35 +02:00
Michael Snoyman
ccab062f2d
Remove all conditional compilation for Yesod 1.4 release
...
Left in for GHC-bundled libraries (ghc, base, bytestring, binary)
2014-09-07 18:17:45 +03:00
Michael Snoyman
65f12be39b
Fixes for previous merge
2014-04-18 15:18:31 +03:00
Michael Snoyman
fe622d5345
Merge remote-tracking branch 'origin/master' into yesod-1.4
...
Conflicts:
yesod-auth/yesod-auth.cabal
yesod-form/Yesod/Form/Fields.hs
yesod-form/yesod-form.cabal
yesod-persistent/Yesod/Persist/Core.hs
2014-04-18 14:33:54 +03:00
Michael Snoyman
588cafa223
Expand YesodDB for GHC 7.8.1 bug #709
2014-04-09 19:37:33 +03:00
Michael Snoyman
827b1d4bd2
Merge remote-tracking branch 'origin/master' into persistent2-simpler-dispatch
2014-03-20 20:38:14 +02:00
Michael Snoyman
6ef507e54f
Better implementation of defaultGetDBRunner
2014-03-20 20:37:39 +02:00
Michael Snoyman
db096471ca
persistent2
2014-01-16 08:23:50 +02:00
Michael Snoyman
4d25fd2be1
Replace lift . notFound to avoid a segfault bug
2013-11-12 19:28:18 +02:00
Michael Snoyman
c8146210c6
Yesod.Persist.Core
2013-06-06 10:09:30 +03:00