Database: SqlBuilder::addWhere() consider NOT [Closes #667]
Merge pull request #1047 from hrach/sqlbuilder

Database: SqlBuilder::addWhere() consider NOT [Closes #667]