[web-devel] Yesod. Pesistent

Michael Snoyman michael at snoyman.com
Sat Apr 30 19:18:04 CEST 2011


Upgrade persistent-template: fromSinglePiece "1" will now return PersistInt64 1.

Michael

On Sat, Apr 30, 2011 at 1:48 PM, Anton Cheshkov <acheshkov at gmail.com> wrote:
> Hello. I have some confusing with  PersistValue
> I have two variables
>    UserProfileId {unUserProfileId = PersistText "1"}    which obtained
>   from fromSinglePiece  come from HTML Form
>    UserProfileId {unUserProfileId = PersistInt64 1}"    is  Key UserProfile
>  came from Database
> Logically  i expect  that this values must be equal. But haskell says me not
> )
> How to get equality ?
> Thanks.
> --
> Best regards,
> Cheshkov Anton
> Phone: +7 909 005 18 82
> Skype: cheshkov_anton
>



More information about the web-devel mailing list