On Tue, Nov 23, 2010 at 5:09 PM, Lauro Moura <[email protected]> wrote:
> My proposal is to replace the operators by plain methods like
> filterEqual, filterLessThan, etc. Originally I was thinking about
> using just equal, lessThan, etc, but Hugo pointed that adding a
> "filter" prefix or suffix would be better.
>
> request.setFilter(gallery.year.filterLessOrEqual("2010"))
> request.setFilter(gallery.author.filterEqual("James Joyce"))

+1 for the proposed API.

Regards,
-- 
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to