projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d9b3713
)
RT# 31208 Docs $FS::Record::qsearch_qualify_columns
author
Mitch Jackson
<mitch@freeside.biz>
Fri, 19 Oct 2018 21:54:48 +0000
(17:54 -0400)
committer
Mitch Jackson
<mitch@freeside.biz>
Fri, 19 Oct 2018 22:03:15 +0000
(18:03 -0400)
FS/FS/Record.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Record.pm
b/FS/FS/Record.pm
index
9dd08cf
..
97a60b7
100644
(file)
--- 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.
#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
=cut
my %TYPE = (); #for debugging