This package provides the Haskell persistent library documentation.
Provides
Requires
License
MIT
Changelog
* Wed Jan 14 2026 Peter Simons <psimons@suse.com>
- Update persistent to version 2.18.1.0.
[#] 2.18.1.0
* [#1616](https://github.com/yesodweb/persistent/pull/1616)
* Allow overriding the default cascade option for foreign keys.
* [#1608](https://github.com/yesodweb/persistent/pull/1608)
* Improves documentation on getBy with nullable fields
* Updates the warning text present when you try to make a Unique field that is nullable
[#] 2.18.0.0
* [#1610](https://github.com/yesodweb/persistent/pull/1610)
* Added `NoAction` as a `CascadeAction`
* Wed Jul 09 2025 Peter Simons <psimons@suse.com>
- Update persistent to version 2.17.1.0.
[#] 2.17.1.0
* [#1601](https://github.com/yesodweb/persistent/pull/1601)
* Fix parsing of quoted entity field attributes
* Add and enforce `psQuotedAttributeErrorLevel` to deprecate quoted entity field attributes
* Improve parsing of types and entity fields
* Fri May 23 2025 Peter Simons <psimons@suse.com>
- Update persistent to version 2.17.0.0.
[#] 2.17.0.0
* [#1595](https://github.com/yesodweb/persistent/pull/1595)
* Add `tabulateEntityApply` to `PersistEntity` class similar to
`tabulateEntityA` but that works on `Apply` type instead of `Applicative`.
This allows you to use `foldMap1` and other non-empty structures with
tabulating and manipulating records.
* Tue May 20 2025 Peter Simons <psimons@suse.com>
- Update persistent to version 2.16.0.0.
[#] 2.16.0.0
* [#1584](https://github.com/yesodweb/persistent/pull/1584)
* Rename `Span` to `SourceSpan`
* Parse entity definitions using Megaparsec.
* Support Haddock-style multiline pre-comments.
* [#1589](https://github.com/yesodweb/persistent/pull/1589)
* Support configurable parse errors and warnings
* [#1585](https://github.com/yesodweb/persistent/pull/1585)
* Support parsing PersistField UTCTime from text with timezone, e.g. "2025-04-12T06:53:42Z".
This is needed for Sqlite, which has no native datetime support but uses e.g. TEXT.
* [#1587](https://github.com/yesodweb/persistent/pull/1587)
* Improve documentation of `mpsFieldLabelModifier`.
[#] 2.15.1.0
* [#1519](https://github.com/yesodweb/persistent/pull/1519/files/9865a295f4545d30e55aacb6efc25f27f758e8ad#diff-5af2883367baae8f7f266df6a89fc2d1defb7572d94ed069e05c8135a883bc45)
* Add `keyAndEntityFieldsDatabase`. This was intended to be added in 2.14.7.0 but was not properly re-exported.
[#] 2.15.0.1
* [#1575](https://github.com/yesodweb/persistent/pull/1575)
* Fix benchmark build for GHC 9.8-9.12
* Support `template-haskell` up to 2.24
[#] 2.15.0.0
* [#1569](https://github.com/yesodweb/persistent/pull/1569)
* Add position information to `EntityDef`, `UnboundEntityDef` via a `Span`
field as a preliminary design that just gives the entire span of the
input text (i.e. the entire file or quasiquote the item is defined in).
* Move `Database.Persist.TH` internals to `Database.Persist.TH.Internal` and
no longer export the following internals:
* lensPTH
* parseReferences
* embedEntityDefs
* fieldError
* AtLeastOneUniqueKey(..)
* OnlyOneUniqueKey(..)
* pkNewtype
* Tue Apr 08 2025 Peter Simons <psimons@suse.com>
- Update persistent to version 2.14.6.3 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
* Wed Aug 28 2024 Peter Simons <psimons@suse.com>
- Update persistent to version 2.14.6.3.
[#]# 2.14.6.3
* [#1544](https://github.com/yesodweb/persistent/pull/1544)
* Fix type error message when no unique keys are defined on a model and you
use a function with constraint `AtLeastOneUniqueKey`.
* Fri Jul 19 2024 Peter Simons <psimons@suse.com>
- Update persistent to version 2.14.6.2.
[#]# 2.14.6.2
* [#1536](https://github.com/yesodweb/persistent/pull/1536/)
* Build with GHC 9.10
* Tue Mar 12 2024 Peter Simons <psimons@suse.com>
- Drop obsolete 'drop-dependency-on-empty-attoparsec-aeson-library.patch'.
* Thu Feb 08 2024 Peter Simons <psimons@suse.com>
- Update persistent to version 2.14.6.1.
[#]# 2.14.6.1
* [#1528](https://github.com/yesodweb/persistent/pull/1528)
* The `PersistField Int{,8,16,32,64}` instances will now work with a
`PersistRational`, provided that the denominator is 1. This fixes the bug
where `SUM` in Postgres would change the type of a column being summed.
* Tue Oct 03 2023 Peter Simons <psimons@suse.com>
- Update persistent to version 2.14.6.0.
[#]# 2.14.6.0
* [#1477](https://github.com/yesodweb/persistent/pull/1477)
* Qualified references to other tables will work
* [#1503](https://github.com/yesodweb/persistent/pull/1503)
* Create Haddocks from entity documentation comments
* [1497](https://github.com/yesodweb/persistent/pull/1497)
* Always generates `SymbolToField "id"` instance
* [#1509](https://github.com/yesodweb/persistent/pull/1509)
* Provide `ViaPersistEntity` for defining `PathMultiPiece` for entity keys.
* [#1480](https://github.com/yesodweb/persistent/pull/1480)
* Add `mpsAvoidHsKeyword` in `MkPersistSettings`
*
[#]# 2.14.5.2
* [#1513](https://github.com/yesodweb/persistent/pull/1513)
* Support GHC 9.8 and `aeson-2.2`
- Apply drop-dependency-on-empty-attoparsec-aeson-library.patch to
fix the build.
* Mon Jul 03 2023 Peter Simons <psimons@suse.com>
- Update persistent to version 2.14.5.1 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
* Wed Jun 28 2023 Peter Simons <psimons@suse.com>
- Update persistent to version 2.14.5.1.
[#]# 2.14.5.1
* [#1496](https://github.com/yesodweb/persistent/pull/1496)
* Fixes name shadowing error at the generated `keyFromRecordM` function.
* [#1505](https://github.com/yesodweb/persistent/pull/1505)
* Fixes the comment line parsing rule so that accommodates paragraph breaks.
* Thu Mar 30 2023 Peter Simons <psimons@suse.com>
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
* Sat Mar 04 2023 Peter Simons <psimons@suse.com>
- Update persistent to version 2.14.5.0.
Upstream has edited the change log file since the last release in
a non-trivial way, i.e. they did more than just add a new entry
at the top. You can review the file at:
http://hackage.haskell.org/package/persistent-2.14.5.0/src/ChangeLog.md
* Thu Jan 05 2023 Peter Simons <psimons@suse.com>
- Update persistent to version 2.14.4.4.
[#]# 2.14.4.4
* [#1460] https://github.com/yesodweb/persistent/pull/1460
* Fix a problem where a `Primary` key causes `mkPersist` to generate code
that doesn't compile under `NoFieldSelectors`
Files
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-Class-PersistConfig.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-Class-PersistEntity.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-Class-PersistField.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-Class-PersistQuery.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-Class-PersistStore.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-Class-PersistUnique.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-Class.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-Compatible.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-EntityDef-Internal.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-EntityDef.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-FieldDef-Internal.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-FieldDef.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-ImplicitIdDef-Internal.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-ImplicitIdDef.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-Names.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-PersistValue.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-Quasi-Internal-ModelParser.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-Quasi-Internal-TypeParser.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-Quasi-Internal.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-Quasi-PersistSettings-Internal.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-Quasi-PersistSettings.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-Quasi.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-Sql-Migration.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-Sql-Types-Internal.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-Sql-Util.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-Sql.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-SqlBackend-Internal-InsertSqlResult.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-SqlBackend-Internal-IsolationLevel.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-SqlBackend-Internal-MkSqlBackend.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-SqlBackend-Internal-SqlPoolHooks.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-SqlBackend-Internal-Statement.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-SqlBackend-Internal-StatementCache.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-SqlBackend-Internal.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-SqlBackend-SqlPoolHooks.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-SqlBackend-StatementCache.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-SqlBackend.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-TH-Internal.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-TH.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-Types-SourceSpan.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist-Types.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/Database-Persist.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-124.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-33.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-42.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-43.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-45.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-47.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-60.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-61.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-62.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-A.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-All.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-B.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-C.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-D.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-E.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-F.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-G.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-H.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-I.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-K.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-L.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-M.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-N.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-O.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-P.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-Q.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-R.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-S.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-T.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-U.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-V.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index-W.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/doc-index.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/haddock-bundle.min.js
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/index.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/linuwial.css
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/meta.json
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/persistent.haddock
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/persistent.txt
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/quick-jump.css
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/src
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/src/Database.Persist.Class.PersistConfig.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/src/Database.Persist.Class.PersistEntity.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/src/Database.Persist.Class.PersistField.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/src/Database.Persist.Class.PersistQuery.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/src/Database.Persist.Class.PersistStore.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/src/Database.Persist.Class.PersistUnique.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/src/Database.Persist.Class.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/src/Database.Persist.Compatible.TH.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/src/Database.Persist.Compatible.Types.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/src/Database.Persist.Compatible.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/src/Database.Persist.EntityDef.Internal.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/src/Database.Persist.EntityDef.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/src/Database.Persist.FieldDef.Internal.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/src/Database.Persist.FieldDef.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/src/Database.Persist.ImplicitIdDef.Internal.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/src/Database.Persist.ImplicitIdDef.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/src/Database.Persist.Names.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/src/Database.Persist.PersistValue.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/src/Database.Persist.Quasi.Internal.ModelParser.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/src/Database.Persist.Quasi.Internal.TypeParser.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/src/Database.Persist.Quasi.Internal.html
/usr/share/doc/packages/ghc-9.14.1/html/libraries/persistent-2.18.1.0/src/Database.Persist.Quasi