From: Mitch Jackson Date: Fri, 19 Oct 2018 21:54:48 +0000 (-0400) Subject: RT# 31208 Docs $FS::Record::qsearch_qualify_columns X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=62b18c75989a1b00a25079f8f110992aaad81bba RT# 31208 Docs $FS::Record::qsearch_qualify_columns --- diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm index 89957cb47..12e2d318f 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -289,6 +289,11 @@ the individual PARAMS_HASHREF queries #regular FS::TABLE methods #on it. +C<$FS::Record::qsearch_qualify_columns> package global is disabled by default. +When enabled, the WHERE clause generated from the 'hashref' parameter has +the table name prepended to each column name. WHERE column = 'value' becomes +WHERE table.coumn = 'value' + =cut my %TYPE = (); #for debugging