api::helper

Macro impl_column_type_functions_with_snake

source
macro_rules! impl_column_type_functions_with_snake {
    ($($TypeName: ident), +) => { ... };
}
Expand description

This macro is used to generate datatype functions with snake style for ColumnDataTypeWrapper.

For example: we can use ColumnDataTypeWrapper::duration_second_datatype(), to get a ColumnDataTypeWrapper with datatype ColumnDataType::DurationSecond.