private function validateWhereClause($table, $where) {
        foreach ($where as $column => $value) {
            if (!$this->isInputValid($table, $column, $value)) {
                return false;
            }
        }

        return true;
    }