code: protected function validateWhere(array $whereColumnsInfo)
      {
          foreach ($whereColumnsInfo as $columnNameSql => $columnWhereInfo) {
              if (!in_array($columnNameSql, static::SELECT_COLUMNS)) {
                  throw new \Exception("Invalid where column $columnNameSql");
              }
          }
      }
docs: make sure each columnNameSql in columns