## insert()


Insert a row into a table and return the new row ID.


Usage


``` python
insert(
    table,
    data,
)
```


## Parameters


`table: str`  
The name of the table to insert into.

`data: dict`  
A dictionary of column-value pairs.


## Returns


`int`  
The ID of the newly inserted row.


## Examples

``` python
>>> insert("users", {"name": "Bob"})
```

2
