get_decimal_places

Function get_decimal_places 

Source
fn get_decimal_places(array: &ArrayRef, index: usize) -> Result<i64>
Expand description

Get decimal places from various integer types.

MySQL clamps decimal places to 0..=30. This function returns an i64 so the caller can clamp.