How do people feel about the following shortcuts? Manager->get_objects([ a => 1, b => 2 ]); Manager->get_objects({ a => 1, b => 2 });
Both being equivalent to: Manager->get_objects(query => [ a => 1, b => 2 ]); This is how the new "find" relationship method type works, and I'm wondering if get_objects() shouldn't work that way too. Pro: saves some typing Con: small additional overhead to check and coerce the args Opinions? -John ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object