pub fn encode_param<T: ToSql>(val: &T) -> Result<Vec<u8>>
Encode a value as a bind parameter (Some = value, None = NULL).