Database: completly refactored SqlBuilder::addWhere()