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
|
@@ 1684-1686 (lines=3) @@
|
| 1681 |
|
$opts = $this->makeUpdateOptions( $options ); |
| 1682 |
|
$sql = "UPDATE $opts $table SET " . $this->makeList( $values, LIST_SET ); |
| 1683 |
|
|
| 1684 |
|
if ( $conds !== [] && $conds !== '*' ) { |
| 1685 |
|
$sql .= " WHERE " . $this->makeList( $conds, LIST_AND ); |
| 1686 |
|
} |
| 1687 |
|
|
| 1688 |
|
return $this->query( $sql, $fname ); |
| 1689 |
|
} |