Changes between Version 11 and Version 12 of S3/S3Hierarchy
- Timestamp:
- 05/21/14 21:42:31 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3Hierarchy
v11 v12 90 90 == Subset Definition == 91 91 92 To perform lookups in the hierarchy, you first have to define a subset (which is an S3Hierarchy instance). 93 94 With the tablename as only parameter, the subset would include all records in the hierarchical table (...which are accessible for the user): 92 A subset is an S3Hierarchy instance. With the tablename as only parameter for the constructor, the subset would include all records in the hierarchical table (...which are accessible for the user): 95 93 96 94 {{{#!python … … 105 103 }}} 106 104 105 Note that the hierarchy is only loaded from the database when a lookup is performed (lazy instantiation). Also, the hierarchy will not be loaded again until the end of the request (unless it is marked as "dirty" during the request) - regardless how many subsets are created or lookups performed. 107 106 == Performing Lookups == 108 107