[DBIx-Class-Devel] [dbix-class] add ResultSet::rs to force scalar context (#68)

andrewgregory notifications at github.com
Wed Nov 19 03:32:51 GMT 2014


The goal is to make it easier for users to create predefined searches in subclasses without having to create them in pairs.  For instance, instead of creating both `search_foo` and `search_foo_rs` methods they would only need to create `search_foo` and call it as `search_foo()->rs` when they need to force it to return a resultset.  This could replace `search_rs` as well, but that is not my goal.

---
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/dbix-class/pull/68#issuecomment-63587347
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20141118/aca264f5/attachment.htm>


More information about the DBIx-Class-Devel mailing list