Skip to main content

MYSQL_MAX_FRACTIONAL_PRECISION

Constant MYSQL_MAX_FRACTIONAL_PRECISION 

Source
const MYSQL_MAX_FRACTIONAL_PRECISION: u32 = 6;
Expand description

Maximum fractional-seconds precision MySQL accepts for DATETIME(p) and TIMESTAMP(p) — values are stored in microseconds, so 6 digits is the upper bound (https://dev.mysql.com/doc/refman/8.0/en/fractional-seconds.html).