RT# 31208 Docs $FS::Record::qsearch_qualify_columns
authorMitch Jackson <mitch@freeside.biz>
Fri, 19 Oct 2018 21:54:48 +0000 (17:54 -0400)
committerMitch Jackson <mitch@freeside.biz>
Fri, 19 Oct 2018 22:03:15 +0000 (18:03 -0400)
FS/FS/Record.pm

index 9dd08cf..97a60b7 100644 (file)
@@ -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