Changes between Version 46 and Version 47 of DeveloperGuidelines/Optimisation
- Timestamp:
- 06/18/10 09:23:12 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Optimisation
v46 v47 71 71 == Golden Rules for DB Queries == 72 72 73 These "rules" might seem a matter of course, however, sometimes you need to take a second look at your code: 73 These "rules" might seem a matter of course, however, sometimes you need to take a second look at your code: 74 * Insert a temporary {{{print >> sys.stderr, self.query}}} into web2py's {{{select()}}} function and take a look at what it says. 74 75 75 76 === Use Joins ===