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=cc8918dd73e3bf01fe69bdda09e2229a5c302f10 RT# 31208 Docs $FS::Record::qsearch_qualify_columns --- diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm index 9dd08cfd8..97a60b777 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -286,6 +286,11 @@ the individual PARAMS_HASHREF queries #regular FS::TABLE methods #on it. +C<$FS::Record::qsearch_qualify_columns> package global is enabled 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