permit updates to fields on the far side of joins
Bug #625071 reported by
Robert Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Storm |
New
|
Undecided
|
Unassigned |
Bug Description
We have this code in LP today:
for attachment in self.attachments:
This is in bug.py.
We should be doing a bulk update there, but we have to resort to a manual query to do that, yet storm knows the relationships involved. (self.attachments is a resultset)
I'd like to be able to write:
self.attachment
or
self.attachment
or something along those lines. Basically not having to repeat the relationship just because we're doing a bulk update.
To post a comment you must log in.