future-architect / uroboroSQL-formatter

Beautiful SQL Formatter
BSD 3-Clause "New" or "Revised" License
39 stars 12 forks source link

Feature/support update return #10

Closed ma91n closed 2 years ago

ma91n commented 2 years ago

Diff

Change

Before

INSERT INTO users (id, user_name, user_addr) VALUES('001', 'hoge', 'tokyo') RETURNING user_id;

After

INSERT
INTO
    USERS
(
    ID
,   USER_NAME
,   USER_ADDR
) VALUES (
    '001'
,   'hoge'
,   'tokyo'
)   RETURNING
USER_ID
;