Changeset 1485
- Timestamp:
- 06/21/06 09:37:34 (3 years ago)
- Files:
-
- trunk/doc/book/content/generator.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/doc/book/content/generator.txt
r1393 r1485 390 390 params: %%=content%% (sent by %%author%% on %%date%% about %%article_link%%) 391 391 392 ### Join 393 394 The default method used by the admin generator to get the list is a `doSelect()`. But, if you use related objects in the list, the number database queries executed will rapidly increase. For instance, if you want to display the name of the author in a list of posts, an additional query will be made to the database for each line in the list to retrieve the related `Author` object. 395 396 You may want to force the pager to use a `doSelectJoinXXX()` method to optimize the number of queries. This can be specified with the `peer_method` parameter: 397 398 list: 399 peer_method: doSelectJoinAuthor 400 392 401 `edit` view specific customization 393 402 ----------------------------------

