Open hubg398 opened 2 months ago
Hey adding this here since it should be in the same part of the parser logic (eg same syntax) as the above, but for SETS
parse_results = DDLParser("""
CREATE TABLE myset (
randomcolumn SET('a', 'b', 'c', 'd')
);
""", silent=False).run(output_mode='mysql')
Result
Unknown statement at LexToken(STRING_BASE,"'a'",1,32)
This one is more a feature request, as I don't think the parser supports this yet.
This is for the ENUM column type when the values are specified inline.
Relevant doc for MySQL and example here: https://dev.mysql.com/doc/refman/8.0/en/enum.html
Gives
Thanks