Skip to main content

NO_ACTION

Constant NO_ACTION 

Source
pub const NO_ACTION: ColumnMarker;
Expand description

NO ACTION: like RESTRICT, but checked at the end of the statement. The default.

ยงExamples

#[column(references = User::id, on_delete = NO_ACTION)]
user_id: i32,

See: https://sqlite.org/foreignkeys.html#fk_actions