function db_merge

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 database.inc db_merge($table, array $options = array())
cle7 database.inc db_merge($table, array $options = array())
elmsmedia7 database.inc db_merge($table, array $options = array())
icor7 database.inc db_merge($table, array $options = array())
meedjum_blog7 database.inc db_merge($table, array $options = array())
mooc7 database.inc db_merge($table, array $options = array())

Returns a new MergeQuery object for the active database.

Parameters

$table: The table into which to merge.

$options: An array of options to control how the query operates.

Return value

MergeQuery A new MergeQuery object for this connection.

Related topics

51 calls to db_merge()
actions_save in includes/actions.inc
Saves an action and its user-supplied parameter values to the database.
advagg_set_hash_settings in sites/all/modules/ulmus/advagg/advagg.module
Store settings associated with hash.
aggregator_refresh in modules/aggregator/aggregator.module
Checks a news feed for new items.
aggregator_save_category in modules/aggregator/aggregator.module
Adds/edits/deletes aggregator categories.
aggregator_save_item in modules/aggregator/aggregator.processor.inc
Adds/edits/deletes an aggregator item.

... See full list

File

includes/database/database.inc, line 2441
Core systems for the database layer.

Code

function db_merge($table, array $options = array()) {
  if (empty($options['target']) || $options['target'] == 'slave') {
    $options['target'] = 'default';
  }
  return Database::getConnection($options['target'])->merge($table, $options);
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.