Instances1MonadReader
MonadReader PersistSettings ParserDefined in persistent-2.18.1.0 · Database.Persist.Quasi.Internal.ModelParser
:: a typeCtrl KGHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11
Modulepersistent-2.18.1.0Haskell2010
MonadReader PersistSettings ParserDefined in persistent-2.18.1.0 · Database.Persist.Quasi.Internal.ModelParserEq ParserErrorLevelDefined in persistent-2.18.1.0 · Database.Persist.Quasi.PersistSettings.InternalShow ParserErrorLevelDefined in persistent-2.18.1.0 · Database.Persist.Quasi.PersistSettings.InternalEq ParserWarningDefined in persistent-2.18.1.0 · Database.Persist.Quasi.PersistSettings.InternalOrd ParserWarningDefined in persistent-2.18.1.0 · Database.Persist.Quasi.PersistSettings.InternalShow ParserWarningDefined in persistent-2.18.1.0 · Database.Persist.Quasi.PersistSettings.InternalUses errorBundlePretty to render a parser warning.
Retrieve the function in the PersistSettings that modifies the names into database names.
Set the name modification function that translates the QuasiQuoted names for use in the database.
Set a custom function used to create the constraint name for a foreign key.
A preset configuration function that puts an underscore between the entity name and the constraint name when creating a foreign key constraint name
Deprecated. use the correctly spelled, equivalent, setPsUseSnakeCaseForeignKeys instead
Equivalent to setPsUseSnakeCaseForeignKeys, but misspelled.
Retrieve whether or not the PersistSettings will generate code with strict fields.
Set whether or not the PersistSettings will make fields strict.
Retrieve the default name of the id column.
Set the default name of the id column.
Retrieve the severity of the error generated when the parser encounters a tab.
If it is Nothing, tabs are permitted in entity definitions.
Set the severity of the error generated when the parser encounters a tab.
If set to Nothing, tabs are permitted in entity definitions.
Retrieve the severity of the error generated when the parser encounters a
quoted entity field attribute or quoted directive argument.
If it is Nothing, quoted arguments are permitted in both entity field
definitions and directives.
Set the severity of the error generated when the parser encounters a
quoted entity field attribute.
If set to Nothing, quoted arguments are permitted in both entity field
definitions and directives.