You have to unpack the dictionary with **

ddb.mytbl.insert*(***ddict)

In Python dictionaries can be unpacked using ** and lists are unpacked with
*, it is knows as *args and **kwargs

optionally you can use the db.mytbl.filter_fields to remove the unknown
fields from the dict.


-- 

Bruno Rocha
[http://rochacbruno.com.br]

Reply via email to