Skip to content
Snippets Groups Projects
Commit 39f783f6 authored by catch's avatar catch
Browse files

Issue #1479220 by sudiptadas19, guilhermevp, InternetDevels, paulocs, David...

Issue #1479220 by sudiptadas19, guilhermevp, InternetDevels, paulocs, David Jeyachandran, mondrake, jhodgdon, joachim: Add return documentation for Merge::execute()

(cherry picked from commit 477095b7)
parent 9d892208
No related branches found
No related tags found
10 merge requests!10011Issue #3200534 by quietone, longwave, Kristen Pol: Use dataprovider for...,!3134Issue #3222236: Lighthouse SEO: Uncrawlable Link a#main-content,!2571Issue #3000717: Missing mapping for "nodereference_url" widget,!2521Issue #3185775: Place Views preview on the side on large monitors,!1603Issue #3231707: mxr576's core patch playground,!1479Issue #3250298: Return empty string "" with JSON Serializer instead of FALSE,!1478Issue #3250298: Return empty string "" with JSON Serializer instead of FALSE,!1203Issue #3236191 Wrong group exposed form widgets and multiple selection error.,!1076Issue #2903336 Added node context for tokens.,!1015Issue #3226944: REST's Request handler doesn't resolve $data argument for put method
......@@ -351,6 +351,21 @@ public function key($field, $value = NULL) {
public function __toString() {
}
/**
* Executes the merge database query.
*
* @return
* One of the following values:
* - Merge::STATUS_INSERT: If the entry does not already exist,
* and an INSERT query is executed.
* - Merge::STATUS_UPDATE: If the entry already exists,
* and an UPDATE query is executed.
* - NULL: (deprecated) If there is a problem and
* queryOptions['throw_exception'] is FALSE.
*
* @throws \Drupal\Core\Database\Query\InvalidMergeQueryException
* When there are no conditions found to merge.
*/
public function execute() {
try {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment