projects
/
Pman.Base
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pman/Roo.php
[Pman.Base]
/
Pman
/
Roo.php
diff --git
a/Pman/Roo.php
b/Pman/Roo.php
index
e00d0af
..
d459e6d
100644
(file)
--- a/
Pman/Roo.php
+++ b/
Pman/Roo.php
@@
-865,6
+865,13
@@
class Pman_Roo extends Pman
// value is an array..
if (is_array($val) ) {
// value is an array..
if (is_array($val) ) {
+ $pref = '';
+
+ if ($key[0] == '!') {
+ $pref = '!';
+ $key = substr($key,1);
+ }
+
if (!in_array( $key, array_keys($this->cols))) {
continue;
}
if (!in_array( $key, array_keys($this->cols))) {
continue;
}
@@
-888,10
+895,10
@@
class Pman_Roo extends Pman
if (count($ar)) {
if (count($ar)) {
- $x->whereAddIn(
+ $x->whereAddIn(
$pref . (
isset($this->colsJname[$key]) ?
$this->colsJname[$key] :
isset($this->colsJname[$key]) ?
$this->colsJname[$key] :
- ($x->tableName(). '.'.$key),
+ ($x->tableName(). '.'.$key)
)
,
$ar, $quote ? 'string' : 'int');
}
$ar, $quote ? 'string' : 'int');
}