Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. setEntityId :: FieldDef -> EntityDef -> EntityDef

    persistent Database.Persist.EntityDef

    Set an entityId to be the given FieldDef.

  2. setEntityIdDef :: EntityIdDef -> EntityDef -> EntityDef

    persistent Database.Persist.EntityDef

    No documentation available.

  3. setFieldAttrs :: [FieldAttr] -> FieldDef -> FieldDef

    persistent Database.Persist.FieldDef

    Replace the FieldDef FieldAttr with the new list.

  4. setImplicitIdDefMaxLen :: Integer -> ImplicitIdDef -> ImplicitIdDef

    persistent Database.Persist.ImplicitIdDef

    Set the maximum length of the implied ID column. This is required for any type where the associated SqlType is a TEXT or VARCHAR sort of thing.

  5. setImplicitIdDefMaxLen :: Integer -> ImplicitIdDef -> ImplicitIdDef

    persistent Database.Persist.ImplicitIdDef.Internal

    Set the maximum length of the implied ID column. This is required for any type where the associated SqlType is a TEXT or VARCHAR sort of thing.

  6. setPsIdName :: Text -> PersistSettings -> PersistSettings

    persistent Database.Persist.Quasi

    Set the default name of the id column.

  7. setPsQuotedArgumentErrorLevel :: Maybe ParserErrorLevel -> PersistSettings -> PersistSettings

    persistent Database.Persist.Quasi

    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.

  8. setPsStrictFields :: Bool -> PersistSettings -> PersistSettings

    persistent Database.Persist.Quasi

    Set whether or not the PersistSettings will make fields strict.

  9. setPsTabErrorLevel :: Maybe ParserErrorLevel -> PersistSettings -> PersistSettings

    persistent Database.Persist.Quasi

    Set the severity of the error generated when the parser encounters a tab. If set to Nothing, tabs are permitted in entity definitions.

  10. setPsToDBName :: (Text -> Text) -> PersistSettings -> PersistSettings

    persistent Database.Persist.Quasi

    Set the name modification function that translates the QuasiQuoted names for use in the database.

Page 186 of many | Previous | Next