@@ 55-63 (lines=9) @@ | ||
52 | { |
|
53 | // TODO qualify table-references to support UPDATE queries with JOINs |
|
54 | ||
55 | if ($column instanceof Column) { |
|
56 | $name = $this->getPlaceholder($column); |
|
57 | ||
58 | $quoted_name = $this->driver->quoteName($column->getName()); |
|
59 | } else { |
|
60 | $name = $column; |
|
61 | ||
62 | $quoted_name = $this->driver->quoteName($name); |
|
63 | } |
|
64 | ||
65 | $this->assignments[$name] = "{$quoted_name} = :{$name}"; |
|
66 | ||
@@ 82-90 (lines=9) @@ | ||
79 | { |
|
80 | // TODO qualify table-references to support UPDATE queries with JOINs |
|
81 | ||
82 | if ($column instanceof Column) { |
|
83 | $name = $this->getPlaceholder($column); |
|
84 | ||
85 | $quoted_name = $this->driver->quoteName($column->getName()); |
|
86 | } else { |
|
87 | $name = $column; |
|
88 | ||
89 | $quoted_name = $this->driver->quoteName($name); |
|
90 | } |
|
91 | ||
92 | $this->assignments[$name] = "{$quoted_name} = {$expr}"; |
|
93 |