Changes between Initial Version and Version 1 of Ticket #30052, comment 3


Ignore:
Timestamp:
Jan 8, 2019, 2:16:24 AM (6 years ago)
Author:
Kal Sze

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30052, comment 3

    initial v1  
    33
    44I know it doesn't need to be included, but I thought the point of `only()` and `defer()` is to exclude the fields that we are not interested in, when executing the initial database query. Having `only()` support annotations is useful if I'm only interested in the annotated field, and not in the regular fields.
     5
     6EDIT: unless you mean that I can defer the regular fields if I call `only()` with no argument at all, and still get the annotated fields immediately?
Back to Top