[Koha-bugs] [Bug 23187] Koha::Objects supports find_or_create without passing through the Koha::Object store method

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 11 10:03:58 CET 2019


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

--- Comment #2 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
(In reply to Jonathan Druart from comment #1)
> Should we remove Koha::Objects->find_or_create?
> There are very few occurrences so far.

I reckon that's the most pragmatic approach.. it won't be too onerous to split
the calls in two.. that's what happens behind the scenes in dbic land anyway.

However.. do we use any of the create_related or multi-create functionality of
dbic?  That uses the internal find_or_create behind te scenes inside dbic.

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


More information about the Koha-bugs mailing list