Bluz\Db\Table::insert
Insert new record to table and return last insert Id
<code> Table::insert(['login' => 'Man', 'email' => 'man@example.com']) </code>
Signature
public function insert(array
$data )
Parameters
$data
— array- Column-value pairs
Returns
- string|null
- Primary key or null