On Monday, April 27, 2015 at 6:19:33 PM UTC-7, Jeremy Evans wrote:
>
> Calling refresh in an after_update hook is the recommended way to handle 
> this. 
>
> For PostgreSQL, we could probably add a plugin that uses RETURNING to save 
> the extra query. 
>

I've added an update_refresh plugin that does this: 
https://github.com/jeremyevans/sequel/commit/620138b79ef5f0020edc88c6fbb6d814b74666aa

Thanks,
Jeremy 

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to