ic_dbms_api/dbms/query/delete.rs
1/// Defines the behavior for delete operations regarding foreign key constraints.
2#[derive(Debug, Clone, Copy, PartialEq, Eq)]
3pub enum DeleteBehavior {
4 /// Delete only the records matching the filter.
5 Restrict,
6 /// Cascade delete to related records.
7 Cascade,
8 /// Break the foreign key references.
9 ///
10 /// Don't use this option unless you are sure what you're doing!
11 Break,
12}