use an _after_insert callback.

On Friday, May 1, 2015 at 11:44:12 AM UTC+2, sasogeek wrote:
>
> is there a way to execute some script anytime there's a db insert (either 
> from a form or by manual insert query, or any db query for that matter)? 
> and by script, i'd want to use websocket_send to send some messages anytime 
> something goes in or out of the db with regards to some specific tables.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to