28 Apr
2020
28 Apr
'20
1:18 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25296 --- Comment #6 from Tomás Cohen Arazi <tomascohen@gmail.com> --- 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.