Skip to main content

null

Function null 

Source
pub fn null<S: NullValue>() -> Expr<Nil, Nullable<S>>
Expand description

A typed SQL NULL, for the one position an Option can’t say it: SET column = NULL assigns, and an assignment has no Option to be None. null::<Text>() is Nullable<Text>, so only a nullable column accepts it.