Révision 5587145e
Ajouté par Assos Assos il y a presque 7 ans
drupal7/includes/database/query.inc | ||
---|---|---|
845 | 845 |
/** |
846 | 846 |
* Executes the DELETE query. |
847 | 847 |
* |
848 |
* @return |
|
849 |
* The return value is dependent on the database connection.
|
|
848 |
* @return int
|
|
849 |
* The number of rows affected by the delete query.
|
|
850 | 850 |
*/ |
851 | 851 |
public function execute() { |
852 | 852 |
$values = array(); |
... | ... | |
1242 | 1242 |
* MergeQuery::updateFields() and MergeQuery::insertFields() needs to be called |
1243 | 1243 |
* instead. MergeQuery::fields() can also be called which calls both of these |
1244 | 1244 |
* methods as the common case is to use the same column-value pairs for both |
1245 |
* INSERT and UPDATE. However, this is not mandatory. Another convinient
|
|
1245 |
* INSERT and UPDATE. However, this is not mandatory. Another convenient
|
|
1246 | 1246 |
* wrapper is MergeQuery::key() which adds the same column-value pairs to the |
1247 | 1247 |
* condition and the INSERT query part. |
1248 | 1248 |
* |
Formats disponibles : Unified diff
Update to 7.56