src/bbn/db.php
public function get_update(array $cfg): string
  {
    $cfg['kind'] = 'UPDATE';
    return $this->language->get_update($this->process_cfg($cfg));
  }
public function get_update(array $cfg): string
  {
    $cfg['kind'] = 'UPDATE';
    return $this->language->get_update($this->process_cfg($cfg));
  }
public function get_update ( array $ cfg ) : string { $ cfg [ 'kind' ] = 'UPDATE' ; return $ this -> language -> get_update ( $ this -> process_cfg ( $ cfg ) ) ; }
Returns the SQL code for an UPDATE statement.

```php
\bbn\x::dump($db->get_update([
'tables' => ['table_users'],
'fields' => ['name','surname']
]));
/*
(string)
UPDATE `db_example`.`table_users`
SET `table_users`.`name` = ?,
`table_users`.`surname` = ?
```

@param array $cfg The configuration array
@return string
Returns the SQL code for an UPDATE statement .