There's a Wiki page covering the syntax. The Gt
and Desc
is an old syntax that's no longer needed, I'll remove the references from the chapter (I thought I'd caught them all already).
Is there a reference for the syntax of the persistent quasiquoter?
-
16-07-2023 - |
Pergunta
I've read through the chapter on persistent in the Yesod book. It gives lots of examples but leaves some things unexplained.
For example what does Gt Desc
in this entity definition mean?
-- Define our entities as usual
share [mkPersist sqlSettings, mkMigrate "migrateAll"] [persistLowerCase|
Person
firstName String
lastName String
age Int Gt Desc
deriving Show
|]
Is there somewhere a definitive reference of all those extra attributes?
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow