Search for upsert

  1. Search 7.x for upsert
  2. Search 9.5.x for upsert
  3. Search 8.9.x for upsert
  4. Search 10.3.x for upsert
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Upsert class core/modules/sqlite/src/Driver/Database/sqlite/Upsert.php SQLite implementation of \Drupal\Core\Database\Query\Upsert.
Upsert class core/modules/mysql/src/Driver/Database/mysql/Upsert.php MySQL implementation of \Drupal\Core\Database\Query\Upsert.
Upsert class core/modules/pgsql/src/Driver/Database/pgsql/Upsert.php PostgreSQL implementation of \Drupal\Core\Database\Query\Upsert.
Upsert class core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Upsert.php CoreFakeWithAllCustomClasses implementation of \Drupal\Core\Database\Upsert.
Upsert class core/lib/Drupal/Core/Database/Query/Upsert.php General class for an abstracted "Upsert" (UPDATE or INSERT) query operation.

All search results

Title Object type File name Summary
Connection::upsert function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php Prepares and returns an UPSERT query object.
Connection::upsert function core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Connection.php Prepares and returns an UPSERT query object.
Connection::upsert function core/tests/fixtures/database_drivers/custom/fake/Connection.php Prepares and returns an UPSERT query object.
Connection::upsert function core/modules/pgsql/src/Driver/Database/pgsql/Connection.php Prepares and returns an UPSERT query object.
Connection::upsert function core/modules/mysql/src/Driver/Database/mysql/Connection.php Prepares and returns an UPSERT query object.
Connection::upsert function core/lib/Drupal/Core/Database/Connection.php Prepares and returns an UPSERT query object.
NonPublicSchemaTest::testUpsert function core/modules/pgsql/tests/src/Kernel/pgsql/NonPublicSchemaTest.php @covers \Drupal\Core\Database\Connection::upsert
StubConnection::upsert function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php Prepares and returns an UPSERT query object.
StubUpsert class core/tests/Drupal/Tests/Core/Database/Stub/StubUpsert.php A stub of core Upsert for testing purposes.
StubUpsert.php file core/tests/Drupal/Tests/Core/Database/Stub/StubUpsert.php
StubUpsert::__toString function core/tests/Drupal/Tests/Core/Database/Stub/StubUpsert.php Implements PHP magic __toString method to convert the query to a string.
Upsert class core/lib/Drupal/Core/Database/Query/Upsert.php General class for an abstracted "Upsert" (UPDATE or INSERT) query operation.
Upsert class core/modules/mysql/src/Driver/Database/mysql/Upsert.php MySQL implementation of \Drupal\Core\Database\Query\Upsert.
Upsert class core/modules/sqlite/src/Driver/Database/sqlite/Upsert.php SQLite implementation of \Drupal\Core\Database\Query\Upsert.
Upsert class core/modules/pgsql/src/Driver/Database/pgsql/Upsert.php PostgreSQL implementation of \Drupal\Core\Database\Query\Upsert.
Upsert class core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Upsert.php CoreFakeWithAllCustomClasses implementation of \Drupal\Core\Database\Upsert.
Upsert.php file core/lib/Drupal/Core/Database/Query/Upsert.php
Upsert.php file core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Upsert.php
Upsert.php file core/modules/sqlite/src/Driver/Database/sqlite/Upsert.php
Upsert.php file core/modules/mysql/src/Driver/Database/mysql/Upsert.php
Upsert.php file core/modules/pgsql/src/Driver/Database/pgsql/Upsert.php
Upsert::$key property core/lib/Drupal/Core/Database/Query/Upsert.php The unique or primary key of the table.
Upsert::execute function core/lib/Drupal/Core/Database/Query/Upsert.php Executes the UPSERT operation.
Upsert::execute function core/modules/pgsql/src/Driver/Database/pgsql/Upsert.php Executes the UPSERT operation.
Upsert::execute function core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Upsert.php Executes the UPSERT operation.
Upsert::key function core/lib/Drupal/Core/Database/Query/Upsert.php Sets the unique / primary key field to be used as condition for this query.
Upsert::preExecute function core/lib/Drupal/Core/Database/Query/Upsert.php Preprocesses and validates the query.
Upsert::__construct function core/lib/Drupal/Core/Database/Query/Upsert.php Constructs an Upsert object.
Upsert::__toString function core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Upsert.php Implements PHP magic __toString method to convert the query to a string.
Upsert::__toString function core/modules/sqlite/src/Driver/Database/sqlite/Upsert.php Implements PHP magic __toString method to convert the query to a string.
Upsert::__toString function core/modules/mysql/src/Driver/Database/mysql/Upsert.php Implements PHP magic __toString method to convert the query to a string.
Upsert::__toString function core/modules/pgsql/src/Driver/Database/pgsql/Upsert.php Implements PHP magic __toString method to convert the query to a string.
UpsertTest class core/tests/Drupal/KernelTests/Core/Database/UpsertTest.php Tests the Upsert query builder.
UpsertTest.php file core/tests/Drupal/KernelTests/Core/Database/UpsertTest.php
UpsertTest::testUpsert function core/tests/Drupal/KernelTests/Core/Database/UpsertTest.php Confirms that we can upsert (update-or-insert) records successfully.
UpsertTest::testUpsertNonExistingTable function core/tests/Drupal/KernelTests/Core/Database/UpsertTest.php Upsert on a not existing table throws a DatabaseExceptionWrapper.
UpsertTest::testUpsertNullBlob function core/tests/Drupal/KernelTests/Core/Database/UpsertTest.php Tests that we can upsert a null into blob field.
UpsertTest::testUpsertWithKeywords function core/tests/Drupal/KernelTests/Core/Database/UpsertTest.php Confirms that we can upsert records with keywords successfully.

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