Sha256: f8cc3b9fac02005bc399a8a2b85f85a997e8480a065c146bd8a257300c386c47
Contents?: true
Size: 1.18 KB
Versions: 10
Compression:
Stored size: 1.18 KB
Contents
grammar SQLDataTypes include SQLPrimitives rule datatype bit_field / numeric_type / char_type / date_type end rule date_type DATETIME_KEYWORD end rule char_type char_field field_size_with_space? end rule char_field VARCHAR_KEYWORD end rule numeric_type int_type / decimal_type end rule decimal_type decimal_field field_size_with_space? unsigned? zerofill? end rule decimal_field REAL_KEYWORD / DOUBLE_KEYWORD / FLOAT_KEYWORD / DECIMAL_KEYWORD / NUMERIC_KEYWORD end rule int_type int_field int_options end rule int_field TINY_INT_KEYWORD / SMALL_INT_KEYWORD / INTEGER_KEYWORD / INT_KEYWORD / BIG_INT_KEYWORD end rule int_options field_size_with_space? unsigned? zerofill? end rule bit_field "BIT" field_size? end rule unsigned SPACE UNSIGNED_KEYWORD end rule zerofill SPACE ZEROFILL_KEYWORD end rule field_size_with_space SPACE* field_size end rule field_size OPEN_PARENS SPACE* integer SPACE* CLOSE_PARENS / OPEN_PARENS SPACE* integer SPACE* COMMA SPACE* integer SPACE* CLOSE_PARENS end end
Version data entries
10 entries across 10 versions & 1 rubygems