On 1/17/07 7:12 PM, Cory Bennett wrote:
> Is there a way to reset the data cached from relationship queries?

Just set the collection to undef:

    $p->prices(undef);
    @prices = $p->prices; # re-fetched from the database here

-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

Reply via email to