[SQLObject] How to insert a row from dictionary
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: MJR <py...@ce...> - 2004-08-30 08:50:43
|
I am wondering whether ther is a simple way to insert a row from dictionary where keys are columns. Something like: myDict={'col1': val1, 'col2':val2} myTable.new(myDict) instead of myTable.new(col1=val1, col2=val2) tx, mike |