[Tarantool-patches] [PATCH v1 3/9] box: introduce trigger_event_manipulation enum

Konstantin Osipov kostja at scylladb.com
Thu Oct 17 10:35:32 MSK 2019


* Kirill Shcherbatov <kshcherbatov at tarantool.org> [19/10/14 19:06]:
> This patch introduces a new trigger_event_manipulation enum
> that describes a trigger event. This is the type of operation on
> the associated space for which the trigger activates.
> The value could be `INSERT` (a row was inserted), `DELETE`
> (a row was deleted), or `UPDATE` (a row was modified).

This is sql_trigger_event if we talk about SQL triggers only, or
box_trigger_event if we talk about any kind of database trigger.

Similarly, if we talk about sql_triggers only, it's
sql_trigger_def. If you wish to define a general-purpose trigger
object, for SQL and Lua, it's box_trigger_def.


-- 
Konstantin Osipov, Moscow, Russia


More information about the Tarantool-patches mailing list