pub fn datetime2(value: NaiveDateTime, scale: u8) -> DateTime2Expand description
Create a datetime2(scale) parameter for an Always Encrypted datetime2
column. A plain NaiveDateTime defaults to datetime2(7), so an explicit
scale is required to match a column with a different scale (and to encrypt
at the right byte length). scale is the fractional-second digits (0–7).