Wrap table name with backtick

@param string $column_names
@return string
547820
private function escape_column_name($column_names){
        $columns = [];
        foreach( explode(',', $column_names) as $column_name ){
            // trim
            $column_name = trim($column_name);
            // Remove special chars
            $columns[] = preg_replace('/[`\'";\n\r\\\\\\0]/u', '', $column_name);
        }
        return implode(', ', $columns);
    }
672445
private function buildTableName(): string
    {
        $table = '{db_prefix}' . $this->table;
        
        $no_alias_methods = [
            'REPLACE',
            'INSERT'
        ];
        
        if (in_array($this->method, $no_alias_methods)) {
            return $table;
        }
        
        if (! empty($this->alias)) {
            $table .= ' AS ' . $this->alias;
        }
        
        return $table;
    }
817201
protected function table_column_to_name( $key, $columns ) {
		$name = $this->get_table_column_name( $key );
		if ( isset( $name ) ) {
			return $name;
		}

		return isset( $columns[ $key ]['comment'] ) ? $columns[ $key ]['comment'] : $key;
	}
670838
private function getTables($tables)
    {
        $names = '';
        $i = 0;

        foreach ($tables as $table) {
            $names .= $table;
            $i++;

            if (count($tables) > $i) {
                $names .= ',';
            }
        }

        return $names;
    }
190509
private function getColumnsString()
    {
        if (count($this->columns) === 1 && $this->columns[0] === '*') {
            return '*';
        }
        $columns = array_map(function ($column) {
            return (strpos($column, '.') === false)? $this->table . '.' . $column : $column;
        }, $this->columns);
        return implode(', ', $columns);
    }
120682
protected function tableHeaders() : string
    {
        $arrCells = [];
        foreach ($this->getHeaderColumns() as $key => $val) {
            $arrCells[] = $this->renderHeaderColumn($key, $val);
        }        
        $arrCells[] = "";
        
        $content = H::renderTableHeaderRow($arrCells);
        $full = H::thead($content)
                . H::tbody('');
        return $full;
    }
373469
public function getColumnNames($use_alias = false)
    {
        $columns = [];
        /** @var ColumnSchema $column */
        foreach ($this->columns as $column) {
            $columns[] = $column->getName($use_alias);
        }

        return $columns;
    }
1253081
def get_column_name(self, column_name):
        
        name = pretty_name(column_name)
        if column_name in self._meta.columns:
            column_cls = self._meta.columns[column_name]
            if column_cls.verbose_name:
                name = column_cls.verbose_name
        return name
162649
protected function handleSetColumns(array $columns)
    {
        if (empty($columns)) {
            return '';
        }

        $sql = [];

        foreach ($columns as $column) {
            $sql[] = $this->wrap($column['column']) . ' = ' . $this->param($column['value']);
        }

        return ' SET ' . implode(', ', $sql);
    }
180153
private function prepareColumns(array $columns, callable $columnCallable = null): string
    {
        foreach ($columns as &$column) {
            if (is_array($column)) {
                $column = $this->prepareColumns($column, $columnCallable);
            } else {
                $column = $this->prepareColumn($column, $columnCallable);
            }
        }
        unset($column);

        return '(' . implode(', ', $columns) . ')';
    }
1161622
public function getColumnNames ($table_name, $forced_obtain = false) {
		if (!isset(array_flip($this->getTables($forced_obtain))[$table_name])) {
			throw CoreException::RaiseSystemError('存在しないテーブルを指定されました。table_name:%s', [$table_name]);
		}
		if ($forced_obtain || !isset($this->_columnNames[$table_name])) {
			$column_names = array_keys($this->getColumns($table_name, $forced_obtain));
			$this->_columnNames[$table_name] = array_combine($column_names, $column_names);
		}
		return $this->_columnNames[$table_name];
	}
637914
public function tableNames()
    {
        $names          = [];
        $query          = $this->getQueryBuilder();
        $names[]        = $query->from;
        $joins          = $query->joins ?: [];
        $databasePrefix = $this->prefix;
        foreach ($joins as $join) {
            $table   = preg_split('/ as /i', $join->table);
            $names[] = $table[0];
            if (isset($table[1]) && !empty($databasePrefix) && strpos($table[1], $databasePrefix) == 0) {
                $names[] = preg_replace('/^' . $databasePrefix . '/', '', $table[1]);
            }
        }

        return $names;
    }
55843
protected function _parseColumns()
    {
        $parts = [];
        foreach ($this->_sql->getColumns() as $column) {
            $parts[] = $this->_parseColumn($column);
        }
        $tableName = $this->_sql->getTable();
        return implode(
            "; ALTER TABLE {$tableName} ADD COLUMN ",
            $parts
        );
    }
1082667
private function realColumnAttribute($column_name)
	{
		if($this->pdo->options[LikePDO::ATTR_CASE] == LikePDO::CASE_LOWER)
			return strtolower($column_name);
		elseif($this->pdo->options[LikePDO::ATTR_CASE] == LikePDO::CASE_UPPER)
			return strtoupper($column_name);
		else
			return $column_name;
	}
1307601
def quote_table_name(name)
      name.to_s.split('.').map{ |n| n.split('@').map{ |m| quote_column_name(m) }.join('@') }.join('.')
    end
671661
def column_names(self):
        """"""
        return [name for (name, d) in self._columns.items()
                if d.get('show', True)]
811273
public static function tableize($class_name)
	{
		$class_name = static::denamespace($class_name);
		if (strncasecmp($class_name, 'Model_', 6) === 0)
		{
			$class_name = substr($class_name, 6);
		}
		return \Str::lower(static::pluralize(static::underscore($class_name)));
	}