function StubUpsert::__toString

Same name in other branches
  1. 10 core/tests/Drupal/Tests/Core/Database/Stub/StubUpsert.php \Drupal\Tests\Core\Database\Stub\StubUpsert::__toString()

Overrides Query::__toString

File

core/tests/Drupal/Tests/Core/Database/Stub/StubUpsert.php, line 17

Class

StubUpsert
A stub of core Upsert for testing purposes.

Namespace

Drupal\Tests\Core\Database\Stub

Code

public function __toString() {
    throw new \BadMethodCallException('Upsert not implemented');
}

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