Changes between Version 6 and Version 7 of DeveloperGuidelines/Web2pyInternalsAndTips
- Timestamp:
- 01/05/13 08:57:43 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Web2pyInternalsAndTips
v6 v7 30 30 table.truncate() 31 31 }}} 32 33 Load table from a Rows object (e.g. as obtained by reading out the table as above) or from a list of dicts: 34 {{{ 35 table.truncate() 36 for row in rows: 37 if isinstance(row, Row): 38 row = row.as_dict() 39 table.insert(**row) 40 }}} 32 41 === Field === 33 42