[web-devel] [Yesod][Persistent] FooIdEq,FooIdIn
michael at snoyman.com
Sat Mar 12 19:46:00 CET 2011
On Sat, Mar 12, 2011 at 3:07 AM, Katsutoshi Itoh <cutsea110 at gmail.com> wrote:
> I had often wanted FooIdIn, FooIdEq on Foo Persistent type.
> Would you support this by default?
> from japan.
As Max said, glad to see that you're safe.
For FooIdEq: I don't think there is any need, since it can be
expressed more succinctly with the "get" function. As for FooIdIn:
this *was* a recently requested feature. Maybe we can get it in for
the next release. I think it would make sense to add the In attribute
to the entity itself, eg:
More information about the web-devel