Quote:
Originally Posted by capink
@chaley: How can I incorporate the advice below with set_field()
|
I don't think you can. cache.set_metadata() does it by wrapping the set_field()s in a "with db" connection. You don't have that option.
The best approach would be to gather together all the changes to a field and apply them with one set_field. Something like a caching single_field_edit action that is paired with a commit action. This might introduce timing problems though.