Connection::upsert |
function |
core/lib/Drupal/Core/Database/Connection.php |
Prepares and returns an UPSERT query object. |
MysqlDriverLegacyTest::testDeprecationUpsert |
function |
core/modules/mysql/tests/src/Kernel/mysql/MysqlDriverLegacyTest.php |
@covers Drupal\Core\Database\Driver\mysql\Upsert |
PgsqlDriverLegacyTest::testDeprecationUpsert |
function |
core/modules/pgsql/tests/src/Kernel/pgsql/PgsqlDriverLegacyTest.php |
@covers Drupal\Core\Database\Driver\pgsql\Upsert |
SqliteDriverLegacyTest::testDeprecationUpsert |
function |
core/modules/sqlite/tests/src/Kernel/sqlite/SqliteDriverLegacyTest.php |
@covers Drupal\Core\Database\Driver\sqlite\Upsert |
Upsert |
class |
core/modules/sqlite/src/Driver/Database/sqlite/Upsert.php |
SQLite implementation of \Drupal\Core\Database\Query\Upsert. |
Upsert |
class |
core/lib/Drupal/Core/Database/Query/Upsert.php |
General class for an abstracted "Upsert" (UPDATE or INSERT) query operation. |
Upsert |
class |
core/lib/Drupal/Core/Database/Driver/pgsql/Upsert.php |
PostgreSQL implementation of \Drupal\Core\Database\Query\Upsert. |
Upsert |
class |
core/lib/Drupal/Core/Database/Driver/mysql/Upsert.php |
MySQL implementation of \Drupal\Core\Database\Query\Upsert. |
Upsert |
class |
core/lib/Drupal/Core/Database/Driver/sqlite/Upsert.php |
SQLite implementation of \Drupal\Core\Database\Query\Upsert. |
Upsert |
class |
core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/Upsert.php |
CorefakeWithAllCustomClasses implementation of \Drupal\Core\Database\Upsert. |
Upsert |
class |
core/modules/pgsql/src/Driver/Database/pgsql/Upsert.php |
PostgreSQL implementation of \Drupal\Core\Database\Query\Upsert. |
Upsert |
class |
core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Upsert.php |
PostgreSQL implementation of \Drupal\Core\Database\Query\Upsert. |
Upsert |
class |
core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Upsert.php |
MySQL test implementation of \Drupal\Core\Database\Query\Upsert. |
Upsert |
class |
core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/Upsert.php |
MySQL test 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.php |
file |
core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Upsert.php |
|
Upsert.php |
file |
core/modules/sqlite/src/Driver/Database/sqlite/Upsert.php |
|
Upsert.php |
file |
core/lib/Drupal/Core/Database/Query/Upsert.php |
|
Upsert.php |
file |
core/lib/Drupal/Core/Database/Driver/pgsql/Upsert.php |
|
Upsert.php |
file |
core/modules/mysql/src/Driver/Database/mysql/Upsert.php |
|
Upsert.php |
file |
core/lib/Drupal/Core/Database/Driver/mysql/Upsert.php |
|
Upsert.php |
file |
core/lib/Drupal/Core/Database/Driver/sqlite/Upsert.php |
|
Upsert.php |
file |
core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/Upsert.php |
|
Upsert.php |
file |
core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Upsert.php |
|
Upsert.php |
file |
core/modules/pgsql/src/Driver/Database/pgsql/Upsert.php |
|
Upsert.php |
file |
core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/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/modules/pgsql/src/Driver/Database/pgsql/Upsert.php |
Executes the UPSERT operation. |
Upsert::execute |
function |
core/lib/Drupal/Core/Database/Query/Upsert.php |
Executes the UPSERT operation. |
Upsert::execute |
function |
core/tests/fixtures/database_drivers/module/corefake/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/modules/mysql/src/Driver/Database/mysql/Upsert.php |
Constructs an Upsert object. |
Upsert::__construct |
function |
core/modules/pgsql/src/Driver/Database/pgsql/Upsert.php |
Constructs an Upsert object. |
Upsert::__construct |
function |
core/modules/sqlite/src/Driver/Database/sqlite/Upsert.php |
Constructs an Upsert object. |
Upsert::__construct |
function |
core/lib/Drupal/Core/Database/Query/Upsert.php |
Constructs an Upsert object. |
Upsert::__toString |
function |
core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/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. |
Upsert::__toString |
function |
core/modules/sqlite/src/Driver/Database/sqlite/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. |