Created on 2021-04-27.10:27:00 by nicoe, last changed 1 month ago by reviewbot.
What happens is that sometimes you'll read only a function field (because eager fields have prefetched by the search) which will be computed afterwards in the loop of the getter fields.
What is the point of reading no fields?
Since issue9013 we're unconditionnaly reading the
write_date of records even when no other field is read.
This behaviour results in a huge penalty when the model is using table_query that could be quite heavy.
|2021-05-04 16:18:18||reviewbot||set||messages: + msg67363|
|2021-04-28 11:49:38||reviewbot||set||messages: + msg67038|
|2021-04-27 11:19:59||nicoe||set||messages: + msg66999|
nosy: + reviewbot
nosy: + ced
Showing 10 items. Show all history (warning: this could be VERY long)