1 query.inc | public MergeQuery::getResult() |
Return the result of the merge query.
If an insert has been performed, this will be the last ID inserted. On updates, it will be the number of rows matched by the merge.
Return value
int:
File
- core/
includes/ database/ query.inc, line 1700 - Non-specific Database query code. Used by all engines.
Class
- MergeQuery
- General class for an abstracted MERGE query operation.
Code
public function getResult() {
return (int) $this->result;
}