Search for merge
- Search 9.5.x for merge
- Search 8.9.x for merge
- Search 10.3.x for merge
- Search 11.x for merge
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| DatabaseConnection::merge | function | includes/ |
Prepares and returns a MERGE query object. |
| DatabaseMergeTestCase | class | modules/ |
Test the MERGE query builder. |
| DatabaseMergeTestCase::getInfo | function | modules/ |
|
| DatabaseMergeTestCase::testInvalidMerge | function | modules/ |
Test that an invalid merge query throws an exception like it is supposed to. |
| DatabaseMergeTestCase::testMergeInsert | function | modules/ |
Confirm that we can merge-insert a record successfully. |
| DatabaseMergeTestCase::testMergeInsertWithoutUpdate | function | modules/ |
Test that we can merge-insert without any update fields. |
| DatabaseMergeTestCase::testMergeUpdate | function | modules/ |
Confirm that we can merge-update a record successfully. |
| DatabaseMergeTestCase::testMergeUpdateExcept | function | modules/ |
Confirm that we can merge-update a record successfully, with different insert and update. |
| DatabaseMergeTestCase::testMergeUpdateExplicit | function | modules/ |
Confirm that we can merge-update a record successfully, with alternate replacement. |
| DatabaseMergeTestCase::testMergeUpdateExpression | function | modules/ |
Confirm that we can merge-update a record successfully, with expressions. |
| DatabaseMergeTestCase::testMergeUpdateWithoutUpdate | function | modules/ |
Confirm that we can merge-update without any update fields. |
| DatabaseReservedKeywordTestCase::testMergeReservedWordTable | function | modules/ |
|
| db_merge | function | includes/ |
Returns a new MergeQuery object for the active database. |
| drupal_array_merge_deep | function | includes/ |
Merges multiple arrays, recursively, and returns the merged array. |
| drupal_array_merge_deep_array | function | includes/ |
Merges multiple arrays, recursively, and returns the merged array. |
| InvalidMergeQueryException | class | includes/ |
Exception thrown for merge queries that do not make semantic sense. |
| MergeQuery | class | includes/ |
General class for an abstracted MERGE query operation. |
| MergeQuery::$condition | property | includes/ |
The condition object for this query. |
| MergeQuery::$conditionTable | property | includes/ |
The table or subquery to be used for the condition. |
| MergeQuery::$defaultFields | property | includes/ |
An array of fields which should be set to their database-defined defaults. |
| MergeQuery::$expressionFields | property | includes/ |
Array of fields to update to an expression in case of a duplicate record. |
| MergeQuery::$insertFields | property | includes/ |
An array of fields on which to insert. |
| MergeQuery::$insertValues | property | includes/ |
An array of values to be inserted. |
| MergeQuery::$needsUpdate | property | includes/ |
Flag indicating whether an UPDATE is necessary. |
| MergeQuery::$table | property | includes/ |
The table to be used for INSERT and UPDATE. |
| MergeQuery::$updateFields | property | includes/ |
An array of fields that will be updated. |
| MergeQuery::arguments | function | includes/ |
Implements QueryConditionInterface::arguments(). |
| MergeQuery::compile | function | includes/ |
Implements QueryConditionInterface::compile(). |
| MergeQuery::compiled | function | includes/ |
Implements QueryConditionInterface::compiled(). |
| MergeQuery::condition | function | includes/ |
Implements QueryConditionInterface::condition(). |
| MergeQuery::conditions | function | includes/ |
Implements QueryConditionInterface::conditions(). |
| MergeQuery::conditionTable | function | includes/ |
Sets the table or subquery to be used for the condition. |
| MergeQuery::execute | function | includes/ |
Runs the query against the database. |
| MergeQuery::exists | function | includes/ |
Implements QueryConditionInterface::exists(). |
| MergeQuery::expression | function | includes/ |
Specifies fields to be updated as an expression. |
| MergeQuery::fields | function | includes/ |
Sets common field-value pairs in the INSERT and UPDATE query parts. |
| MergeQuery::insertFields | function | includes/ |
Adds a set of field->value pairs to be inserted. |
| MergeQuery::isNotNull | function | includes/ |
Implements QueryConditionInterface::isNotNull(). |
| MergeQuery::isNull | function | includes/ |
Implements QueryConditionInterface::isNull(). |
| MergeQuery::key | function | includes/ |
Sets the key field(s) to be used as conditions for this query. |
| MergeQuery::notExists | function | includes/ |
Implements QueryConditionInterface::notExists(). |
| MergeQuery::STATUS_INSERT | constant | includes/ |
Returned by execute() if an INSERT query has been executed. |
| MergeQuery::STATUS_UPDATE | constant | includes/ |
Returned by execute() if an UPDATE query has been executed. |
| MergeQuery::updateFields | function | includes/ |
Adds a set of field->value pairs to be updated. |
| MergeQuery::useDefaults | function | includes/ |
Specifies fields for which the database-defaults should be used. |
| MergeQuery::where | function | includes/ |
Implements QueryConditionInterface::where(). |
| MergeQuery::__construct | function | includes/ |
Constructs a MergeQuery object. |
| MergeQuery::__toString | function | includes/ |
Implements PHP magic __toString method to convert the query to a string. |
| WATCHDOG_EMERGENCY | constant | includes/ |
Log message severity -- Emergency: system is unusable. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.