function Connection::upsert

Same name and namespace in other branches
  1. 11.x core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Connection.php \Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses\Connection::upsert()

File

core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Connection.php, line 48

Class

Connection
CoreFakeWithAllCustomClasses implementation of \Drupal\Core\Database\Connection.

Namespace

Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses

Code

public function upsert($table, array $options = []) {
  return new Upsert($this, $table, $options);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.