This version can be pinned in stack with:persistent-2.6.1@sha256:8418a56cad9ef2b4b490e0e3dd94c214d90ea3ae42e338cc6b35c0f70e546098,5011
Module documentation for 2.6.1
Depends on 30 packages
(full list with versions):
aeson,
attoparsec,
base,
base64-bytestring,
blaze-html,
blaze-markup,
bytestring,
conduit,
containers,
exceptions,
fast-logger,
http-api-data,
lifted-base,
monad-control,
monad-logger,
mtl,
old-locale,
path-pieces,
resource-pool,
resourcet,
scientific,
silently,
tagged,
template-haskell,
text,
time,
transformers,
transformers-base,
unordered-containers,
vector Used by 18 packages in
lts-7.24(full list with versions):
classy-prelude-yesod,
elm-export-persistent,
emailaddress,
esqueleto,
persistent-mysql,
persistent-postgresql,
persistent-redis,
persistent-sqlite,
persistent-template,
slug,
stack,
yesod-auth,
yesod-auth-account,
yesod-auth-hashdb,
yesod-form,
yesod-markdown,
yesod-persistent,
yesod-test persistent
Type-safe, data serialization. You must use a specific backend in order to make
this useful. For more information, see the chapter in the Yesod
book.
2.6.1
- Fix edge case for
\<-. [Nothing]
- Introduce
connMaxParams
- Add ‘getJustEntity’ and ‘insertRecord’ convenience function
- Minor Haddock improvment
2.6
- Add
connUpsertSql
type for providing backend-specific upsert sql support.
2.5
- read/write typeclass split
- add insertOrGet convenience function to PersistUnique
2.2.4.1
- Documentation updates #515
2.2.4
- Workaround for side-exiting transformers in
runSqlConn
#516
2.2.3
- PersistField instance for Natural
- better oracle support in odbc
2.2.2
- Add liftSqlPersistMPool function
- support http-api-data for url serialization
2.2.1
- Migration failure message with context
- Fix insertKey for composite keys
2.2
- Add a
RawSql
instance for Key
. This allows selecting primary keys using functions like rawSql
. #407
- SqlBackend support for an optimized
insertMany
2.1.6
Important! If persistent-template is not upgraded to 2.1.3.3
you might need to make sure Int64
is in scope for your model declarations.
- add showMigration function
- explicitly use Int64 for foreign key references
2.1.5
Add dbIdColumnsEsc
to Sql.Utils.
Used in persistent-postgresql 2.1.5.2
2.1.4
- Fix getBy with a primary key. #342
2.1.3
- Break self-referencing cycles in the entity declarations
2.1.2
- Error with
Double
s without a decimal part #378
runSqlPool
does not perform timeout checks.
2.1.1.6
- One extra feature for #939: use
logDebugN
instead
2.1.1.5
2.1.1.3
Parse UTCTime in 8601 format #339
2.1.1.1
Support for monad-control 1.0