Heya! I've been working on RoseDB for awhile now, and ran across something that 
seemed a bit odd.

When adding objects to a relationship via $object->add_<relationship>({ blah => 
1, etc}), I seem unable to get back the list of objects that were created and 
added to the relationship, which seems like it would be VERY convenient?

It also seems that the behaviour of: returning the number of items added in 
scalar context, and a list of created objects when in list context would be 
easy to add, and not break existing code.

If anyone else thinks this would be useful and can point me to the class that 
contains the add_ code, I would be happy to send in a patch. :)







-----------------------------------------------------------
This message may contain confidential and/or privileged 
information. This information is intended to be read only
by the individual or entity to whom it is addressed. If
you are not the intended recipient, you are on notice that
any review, disclosure, copying, distribution or use of
the contents of this message is strictly prohibited. If
you have received this message in error, please notify the
sender immediately and delete or destroy any copy of this
message.



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to