On 6/3/07 9:11 PM, Jonathan Vanasco wrote: > add_unique_keys seems weird too... > > by the name alone, one would expect > > add_unique_key( $uk ); > add_unique_keys( $uk1, $uk2 );
That should work fine, provided $uk1 and $uk1 are Rose::DB::Object::Metadata::UniqueKey objects. > suffice to say, the unique key implementation/documentation is my > least favorite aspect of my most favorite perl module. I think I could add a hashref argument form without breaking backwards-compatibility. -John ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object