On 12/15/06, Christopher H. Laco <[EMAIL PROTECTED]> wrote: > Will cascade work if I load the carts with just their pk/fk columns, and > set with_objects to {} so they don't load the items?
I think you mean [], not {} (actually, it'd be better to just omit the with_objects param), but yeah, it'll work. delete(cascade => ...) works off the relationship metadata, not the related objects that have been loaded. Don't forget to read the docs to remind yourself exactly what will be cascaded, and how: http://search.cpan.org/dist/Rose-DB-Object/lib/Rose/DB/Object.pm#delete -John ------------------------------------------------------------------------- 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