Upsert.php

Namespace

Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses

File

core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Upsert.php

View source
<?php

namespace Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses;

use Drupal\Core\Database\Query\Upsert as QueryUpsert;

/**
 * CoreFakeWithAllCustomClasses implementation of \Drupal\Core\Database\Upsert.
 */
class Upsert extends QueryUpsert {
  
  /**
   * {@inheritdoc}
   */
  public function execute() {
  }
  
  /**
   * {@inheritdoc}
   */
  public function __toString() {
    throw new \BadMethodCallException('Upsert not implemented');
  }

}

Classes

Title Deprecated Summary
Upsert CoreFakeWithAllCustomClasses implementation of \Drupal\Core\Database\Upsert.

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