Hoogle Search

Within LTS Haskell 24.3 (ghc-9.10.2)

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

  1. getEntityIdField :: EntityDef -> Maybe FieldDef

    persistent Database.Persist.EntityDef

    No documentation available.

  2. getEntityKeyFields :: EntityDef -> NonEmpty FieldDef

    persistent Database.Persist.EntityDef

    No documentation available.

  3. getEntitySpan :: EntityDef -> Maybe SourceSpan

    persistent Database.Persist.EntityDef

    Gets the Source of the definition of the entity. Note that as of this writing the span covers the entire file or quasiquote where the item is defined due to parsing limitations. This may be changed in a future release to be more accurate.

  4. getEntityUniques :: EntityDef -> [UniqueDef]

    persistent Database.Persist.EntityDef

    Retrieve the list of UniqueDef from an EntityDef. As of version 2.14, this will also include the primary key on the entity, if one is defined. If you do not want the primary key, see getEntityUniquesNoPrimaryKey.

  5. getEntityUniquesNoPrimaryKey :: EntityDef -> [UniqueDef]

    persistent Database.Persist.EntityDef

    Retrieve the list of UniqueDef from an EntityDef. This does not include a Primary key, if one is defined. A future version of persistent will include a Primary key among the Unique constructors for the Entity.

  6. getPsIdName :: PersistSettings -> Text

    persistent Database.Persist.Quasi

    Retrieve the default name of the id column.

  7. getPsQuotedArgumentErrorLevel :: PersistSettings -> Maybe ParserErrorLevel

    persistent Database.Persist.Quasi

    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.

  8. getPsStrictFields :: PersistSettings -> Bool

    persistent Database.Persist.Quasi

    Retrieve whether or not the PersistSettings will generate code with strict fields.

  9. getPsTabErrorLevel :: PersistSettings -> Maybe ParserErrorLevel

    persistent Database.Persist.Quasi

    Retrieve the severity of the error generated when the parser encounters a tab. If it is Nothing, tabs are permitted in entity definitions.

  10. getPsToDBName :: PersistSettings -> Text -> Text

    persistent Database.Persist.Quasi

    Retrieve the function in the PersistSettings that modifies the names into database names.

Page 4 of many | Previous | Next