Changes between Version 38 and Version 39 of DeveloperGuidelines/Optimisation


Ignore:
Timestamp:
06/18/10 08:37:34 (11 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Optimisation

    v38 v39  
    147147
    148148{{{
    149 row = db(db.mytable.id == id).select(db.mytable.value, limitby=(0,1)).first()
     149row = db(db.mytable.id == id).select(db.mytable.value, db.mytable.other_value, limitby=(0,1)).first()
    150150if row:
    151151    my_value = row.value