FtheBuilder
FtheBuilder

Reputation: 1437

Yesod Persistent - Using two names for a column

Suppose I have a column foo and I want to use it in Haskell as boo, how could I do something similar to this:

MyEntity
  boo 'foo' Text

Is it even possible?

Upvotes: 1

Views: 51

Answers (1)

Related Questions