Changes between Version 51 and Version 52 of DeveloperGuidelines/Optimisation
- Timestamp:
- 06/18/10 09:59:45 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Optimisation
v51 v52 218 218 (db.table1.some_attribute == some_value) & \ 219 219 (db.table2.id = db.table1.some_key) 220 r ecord2 = db(query).select(db.table2.ALL, limitby(0,1)).first()221 if record2:220 rows = db(query).select(db.table2.ALL) 221 for record2 in rows: 222 222 ... 223 223 }}}