On Feb 16, 2007, at 1:11 PM, John Siracusa wrote: > 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 ]);
i don't like it as something on get_objects itself i'd +1 it as another function name. it just seems to anti- the rest of get_objects get_objects_quick( [ a => 1, b => 2 ] ) get_objects_query( [ a => 1, b => 2 ] ) get_obj_query( [ a => 1, b => 2 ] ) obj_query( [ a => 1, b => 2 ] ) get_query( [ a => 1, b => 2 ] ) // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | SyndiClick.com | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | FindMeOn.com - The cure for Multiple Web Personality Disorder | Web Identity Management and 3D Social Networking | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | RoadSound.com - Tools For Bands, Stuff For Fans | Collaborative Online Management And Syndication Tools | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------------------------------------------------------- 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