sql-language-server icon indicating copy to clipboard operation
sql-language-server copied to clipboard

Support CREATE TRIGGER

Open rvnkcode opened this issue 1 year ago • 0 comments

Hi, When I write some trigger for sqlite3, I got following error message: Expected "--", "/*", "INDEX", "TYPE", or [ \t\n\r] but "T" found.

Would you support for CREATE TRIGGER feature? e.g.

CREATE TRIGGER updated_at_table UPDATE OF title ON my_table
BEGIN
    UPDATE my_table SET updated_at=CURRENT_TIMESTAMP WHERE id=New.id;
END;

Thanks

rvnkcode avatar Oct 31 '23 12:10 rvnkcode