Hi,

Is there a way to find the set of Relationship(s?) that refer to a given column from a Metadata object?

Clearly the information is in column_map, but I don't see a method to retrieve relationships based on columns rather than relationship names.

I'm hoping to do something like this:

 for ( $rose_db_object->columns() ) {
        if ( $rose_db_object->relationships_by_column( $_ ) ) {
                .. do one thing ...
        }
        else {
                ... do another thing ...
        }
 }

so that I can treat columns that have relationship differently from simple values without explicitly having to list the columns anywhere aside from the relationships definition.

Thanks in advance,

Aaron


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Rose-db-object mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to