From: jeff Date: Tue, 25 Aug 2009 17:03:42 +0000 (+0000) Subject: support listref to qsearch as UNION X-Git-Tag: root_of_svc_elec_features~885 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=2b1f6ef77f0ef347897a060cfe94bbff2e3f6c76 support listref to qsearch as UNION --- diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm index 58b2555f0..f17b24036 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -244,6 +244,9 @@ fine in the common case where there are only two parameters: my @records = qsearch( 'table', { 'field' => 'value' } ); +Also possible is an experimental LISTREF of PARAMS_HASHREFs for a UNION of +the individual PARAMS_HASHREF queries + ###oops, argh, FS::Record::new only lets us create database fields. #Normal behaviour if SELECT is not specified is `*', as in #C