[Koha-bugs] [Bug 22407] OMNIBUS: Use DBIC relations to fetch related object rather than searching for the object

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Apr 13 15:47:17 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22407

--- Comment #11 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
We could also use 'skip_relationships' in our dbicdump script to prevent
outputting superfluous relationships given we can't/won't use them until we've
manually written code in the corresponding Koha::Object class.. this way we
would end up being much more explicit about what relationships were building
(and as such reduce the load time/run time memory use form building massive
dbic object full of unreachable expensive relationship accessors.

That.. or we could start using the dbic recommended way of doing db work and go
from schema to database rather than the other way around 😉 and ditch the script
entirely.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list