joereynolds / sql-lint

An SQL linter
MIT License
437 stars 40 forks source link

Unable to lint query #241

Open konrad-awsiukiewicz opened 1 year ago

konrad-awsiukiewicz commented 1 year ago

NEW.version = OLD.version 1

The statement "NEW.version = OLD.version + 1;" in a PostgreSQL CREATE FUNCTION refers to an update of the value of the "version" column in a trigger function.