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

--- Comment #6 from Tomás Cohen Arazi <[email protected]> ---
My conversation with one of the DBIx::Class authors:

[17:56:51]  <tcohen> weird question: if I know a query is going to return and
empty resultset in advance, is there a way/helper to avoid performing the
query, but returning something resultset-ish for consistency?
[17:57:17]  <mst> tcohen: yes
[17:57:23]  <mst> tcohen: $rs->set_cache([]);
[17:57:32]  <tcohen> oh!
[17:57:43]  <mst> tcohen: not weird at all, I designed that feature in
somewhere over ten years ago and if it doesn't work for you, please ask again
:D

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to