def insert(self, table, row):
(sql, values) = sqlinsert(table, row)<EOL>self.execute(sql, values)<EOL>
Add new row. Row must be a dict or implement the mapping interface.

>>> import getpass
>>> s = DB(dbname='test', user=getpass.getuser(), host='localhost',
... password='')
>>> s.execute('drop table if exists t2')
>>> s.execute('create table t2 (id int, name text)')
>>> s.insert('t2', {'id': 1, 'name': 'Toto'})
>>> rows = s.select('t2')
>>> len(rows)
1
>>> row = rows[0]
>>> row
{'id': 1, 'name': 'Toto'}