src/Db.php
protected function addFields($fields)
    {
        $fields_array = [];
        foreach ($fields as $field => $value) {
            $fields_array[] = $field;
        }

        return '`' . implode('`, `', $fields_array) . '`';
    }
protected function addFields($fields)
    {
        $fields_array = [];
        foreach ($fields as $field => $value) {
            $fields_array[] = $field;
        }

        return '`' . implode('`, `', $fields_array) . '`';
    }
protected function addFields ( $ fields ) { $ fields_array = [ ] ; foreach ( $ fields as $ field => $ value ) { $ fields_array [ ] = $ field ; } return '`' . implode ( '`, `' , $ fields_array ) . '`' ; }
Generates a set of fields that need to be updated or inserted.
For the terms "INSERT INTO".
@param $fields
@return string
Generates a set of fields that need to be updated or inserted . For the terms INSERT INTO .