Hoogle Search
Within LTS Haskell 24.12 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
persistent Database.Persist.Quasi.Internal A list of fields present on the foreign reference.
mkEntityDefList :: String -> [UnboundEntityDef] -> Q [Dec]persistent Database.Persist.TH Creates a declaration for the [EntityDef] from the persistent schema. This is necessary because the Persistent QuasiQuoter is unable to know the correct type of ID fields, and assumes that they are all Int64. Provide this in the list you give to share, much like mkMigrate.
share [mkMigrate "migrateAll", mkEntityDefList "entityDefs"] [...]
mkEntityDefList :: String -> [UnboundEntityDef] -> Q [Dec]persistent Database.Persist.TH.Internal Creates a declaration for the [EntityDef] from the persistent schema. This is necessary because the Persistent QuasiQuoter is unable to know the correct type of ID fields, and assumes that they are all Int64. Provide this in the list you give to share, much like mkMigrate.
share [mkMigrate "migrateAll", mkEntityDefList "entityDefs"] [...]
FTList :: FieldType -> FieldTypepersistent Database.Persist.Types No documentation available.
PersistList :: [PersistValue] -> PersistValuepersistent Database.Persist.Types No documentation available.
blockFromList :: [n O O] -> Block n O Oghc GHC.Cmm.Dataflow.Block No documentation available.
blockToList :: Block n O O -> [n O O]ghc GHC.Cmm.Dataflow.Block No documentation available.
-
ghc GHC.Cmm.Dataflow.Graph No documentation available.
bodyToBlockList :: forall (n :: Extensibility -> Extensibility -> Type) . Body n -> [Block n C C]ghc GHC.Cmm.Dataflow.Graph No documentation available.
mapFromList :: [(Label, v)] -> LabelMap vghc GHC.Cmm.Dataflow.Label No documentation available.