risingwave_sqlparser::parser_v2::number

Function precision_in_range

source
pub fn precision_in_range<S>(
    range: impl RangeBounds<u64> + Debug,
) -> impl Parser<S, u64, ContextError>
where S: TokenStream,
Expand description

Consume a precision definition in some types, e.g. FLOAT(32).

The precision must be in the given range.