Changes between Version 36 and Version 37 of DeveloperGuidelines/Optimisation


Ignore:
Timestamp:
06/18/10 08:36:16 (14 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Optimisation

    v36 v37  
    9494
    9595{{{
    96 codes = db(db.mytable.name == name).select()
    97 for code in codes:
    98     records = db(db.othertable.code == code).select()
     96records = db(db.mytable.name == name).select()
     97for r in records:
     98    other_records = db(db.othertable.code == r.code).select()
    9999}}}
    100100