On 8/11/07, Jonathan Vanasco <[EMAIL PROTECTED]> wrote:
> so let me rephrase this question:
>         i thought strip() wasn't supposed to remove fkeys/rels ?  it seems
> to be doing so in .765

http://search.cpan.org/dist/Rose-DB-Object/lib/Rose/DB/Object/Helpers.pm#strip

"By default, the db object and all sub-objects (foreign keys or
relationships) are removed."

You want something like this:

    $o->strip(leave => 'related_objects');

or maybe:

    $o->strip(leave => [ 'db', 'related_objects' ]);

-John

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to