joe-re / sql-language-server

SQL Language Server
MIT License
683 stars 64 forks source link

Support CREATE TRIGGER #235

Open rvnkcode opened 11 months ago

rvnkcode commented 11 months ago

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