[web-devel] [Persist] Select all objects

Konstantin Litvinenko to.darkangel at gmail.com
Wed Apr 13 14:37:22 CEST 2011


Michael Snoyman пишет:
>
>     I'am trying to use Persist to select all entities from table but can't figure out syntax to use.
>     Now I was able to select using fake Filter. How can I avoid fake filter and select all record?
>
> If you haven't specified types elsewhere, you can do so with a type signature like this:
>
>      selectList ([] :: [Filter MyEntity]) [] 0 0
    That is what I looking for. Thanx Michael!
PS. I'am 3 month haskeller - sorry for newby question.




More information about the web-devel mailing list