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

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

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