Skip to main content

Module change_executor

Module change_executor 

Source
Expand description

Change executor — generates and executes SQL for entity state changes.

The ChangeExecutor takes a collection of tracked entities grouped by state (Added/Modified/Deleted), generates the appropriate parameterized DML, and executes it against the database via the provider.

Structs§

ChangeExecutor
Executes INSERT/UPDATE/DELETE for tracked entities within a transaction.

Functions§

collect_delete_params
collect_insert_params
collect_update_params
generate_delete_sql
generate_insert_sql
generate_update_sql