
Perhaps instead of throwing an exception, you add a typeclass PersistBackendLikeQuery or something where only backends that can handle like queries provide that typeclass. seems better and much more haskellish than tossing an exception. Max On Dec 21, 2010, at 6:43 PM, Michael Snoyman wrote:
I've also wanted this at times. I'm a little wary of including it, since it is very SQL-specific. On the other hand, it might be reasonable to allow it in, and then non-SQL backends can either ignore it, throw an exception, or try to implement it somehow. Does anyone have any thoughts on this?
Michael
2010/12/21 いとうかつとし
: Hi continuously another request... I'd like to write "Like" keyword for using as Filter. this isn't supported yet, is this?
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel