includes/db/DatabaseMssql.php 1 location
|
@@ 789-791 (lines=3) @@
|
| 786 |
|
$opts = $this->makeUpdateOptions( $options ); |
| 787 |
|
$sql = "UPDATE $opts $table SET " . $this->makeList( $values, LIST_SET, $binaryColumns ); |
| 788 |
|
|
| 789 |
|
if ( $conds !== [] && $conds !== '*' ) { |
| 790 |
|
$sql .= " WHERE " . $this->makeList( $conds, LIST_AND, $binaryColumns ); |
| 791 |
|
} |
| 792 |
|
|
| 793 |
|
$this->mScrollableCursor = false; |
| 794 |
|
try { |
includes/db/Database.php 1 location
|
@@ 1552-1554 (lines=3) @@
|
| 1549 |
|
$opts = $this->makeUpdateOptions( $options ); |
| 1550 |
|
$sql = "UPDATE $opts $table SET " . $this->makeList( $values, LIST_SET ); |
| 1551 |
|
|
| 1552 |
|
if ( $conds !== [] && $conds !== '*' ) { |
| 1553 |
|
$sql .= " WHERE " . $this->makeList( $conds, LIST_AND ); |
| 1554 |
|
} |
| 1555 |
|
|
| 1556 |
|
return $this->query( $sql, $fname ); |
| 1557 |
|
} |