Closed majensen closed 4 years ago
run once - load the model object explicitly, don't run get() queries on objects afterwards (which is redundant and inefficient)
Set 'dirty' attr on property object to -1 - this will cause lazy db get to execute on next attribute access.
All tests pass. Added to 010 to check that #6 is resolved
@bensonml can you give the dist in this PR a try? Please see if the performance in pulling the models has improved.
Looks good!
run once - load the model object explicitly, don't run get() queries on objects afterwards (which is redundant and inefficient)
Set 'dirty' attr on property object to -1 - this will cause lazy db get to execute on next attribute access.
All tests pass. Added to 010 to check that #6 is resolved