Skip to main content

null

Function null 

Source
pub fn null<T: SqlTyped>() -> TypedNull
Expand description

Create a typed NULL parameter for SQL type T, e.g. null::<i32>().

Use this in place of Option::<T>::None when binding NULL to a strongly typed column — required for an Always Encrypted column of a non-string type.