public function getEscapedTypeFields($type)
    {
        return $this->getTypeProperty($type, 'escaped_fields', function () use ($type) {
            $table_name = $this->getTypeTable($type, true);

            $escaped_field_names = [];

            foreach ($this->getTypeFields($type) as $field_name) {
                $escaped_field_names[] = $table_name . '.' . $this->connection->escapeFieldName($field_name);
            }

            foreach ($this->getGeneratedTypeFields($type) as $field_name) {
                $escaped_field_names[] = $table_name . '.' . $this->connection->escapeFieldName($field_name);
            }

            return implode(',', $escaped_field_names);
        });
    }
public function getEscapedTypeFields($type)
    {
        return $this->getTypeProperty($type, 'escaped_fields', function () use ($type) {
            $table_name = $this->getTypeTable($type, true);

            $escaped_field_names = [];

            foreach ($this->getTypeFields($type) as $field_name) {
                $escaped_field_names[] = $table_name . '.' . $this->connection->escapeFieldName($field_name);
            }

            foreach ($this->getGeneratedTypeFields($type) as $field_name) {
                $escaped_field_names[] = $table_name . '.' . $this->connection->escapeFieldName($field_name);
            }

            return implode(',', $escaped_field_names);
        });
    }
public function getEscapedTypeFields ( $ type ) { return $ this -> getTypeProperty ( $ type , 'escaped_fields' , function ( ) use ( $ type ) { $ table_name = $ this -> getTypeTable ( $ type , true ) ; $ escaped_field_names = [ ] ; foreach ( $ this -> getTypeFields ( $ type ) as $ field_name ) { $ escaped_field_names [ ] = $ table_name . '.' . $ this -> connection -> escapeFieldName ( $ field_name ) ; } foreach ( $ this -> getGeneratedTypeFields ( $ type ) as $ field_name ) { $ escaped_field_names [ ] = $ table_name . '.' . $ this -> connection -> escapeFieldName ( $ field_name ) ; } return implode ( ',' , $ escaped_field_names ) ; } ) ; }
Return a list of escaped field names for the given type.

@param  string $type
@return string
Return a list of escaped field names for the given type .