Class of GFmtOPT beStyleCreatetableRightBEOnNewline parameters seem to have no effect
CembZy opened this issue · 2 comments
When I put the beStyleCreatetableRightBEOnNewline were set to false and true, run after the results are the same, for example,are after conversion:
CREATE TABLE province
(id
VARCHAR(19) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
name
VARCHAR(10) CHARACTER SET utf8mb4 COLLATE DEFAULT NULL,
creator
VARCHAR(15) CHARACTER SET utf8mb4 COLLATE DEFAULT NULL,
create_time
DATETIME DEFAULT NULL,
update_time
DATETIME DEFAULT NULL,
remark
VARCHAR(20) CHARACTER SET utf8mb4 COLLATE DEFAULT NULL,
flag
INT DEFAULT '0',
PRIMARY KEY (id
) ) ENGINE=INNODB DEFAULT ;
What is this formatting rule? When set to true, does each field line start at the rightmost end of the statement formatted by the default rule?
The parameter indentLen change does not take effect
@2133223 Please post the comment for this issue here:
https://github.com/sqlparser/chenbo/issues/1