final class NumericContext
Restricted visibility: declared "@visibility SqlSemantics\Platform\MySql". Code outside that scope must not name this declaration.

Classifies a value by the arithmetic it takes part in when used as a number.

Rule: MYSQL-NUMERIC-CONTEXT-001. An integer type is a signed or unsigned integer by its attributes; BOOL is a signed integer; SERIAL and BIT are unsigned integers; DECIMAL is exact. A temporal value is converted to a number: an integer when it has no fractional seconds, otherwise a decimal. A hexadecimal or bit literal without introducer is an unsigned integer in a numeric context. FLOAT, DOUBLE, every string, JSON, spatial and vector value, and a bare NULL take part as double precision. Terminates: a grouping is unwrapped in a loop over a finite chain. Source: https://dev.mysql.com/doc/refman/8.4/en/type-conversion.html, https://dev.mysql.com/doc/refman/8.4/en/hexadecimal-literals.html, https://dev.mysql.com/doc/refman/8.4/en/date-and-time-type-conversion.html. Status: Implemented.

Methods§

Test cases 3§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 3

Relations§

Instantiated in 2
Method calls 2