Connection::upsert |
function |
core/lib/Drupal/Core/Database/Connection.php |
Prepares and returns an UPSERT query object. |
Connection::upsert |
function |
core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php |
Prepares and returns an UPSERT query object. |
NativeUpsert |
class |
core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/NativeUpsert.php |
PostgreSQL implementation of native \Drupal\Core\Database\Query\Upsert. |
NativeUpsert |
class |
core/lib/Drupal/Core/Database/Driver/pgsql/NativeUpsert.php |
PostgreSQL implementation of native \Drupal\Core\Database\Query\Upsert. |
NativeUpsert.php |
file |
core/lib/Drupal/Core/Database/Driver/pgsql/NativeUpsert.php |
|
NativeUpsert.php |
file |
core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/NativeUpsert.php |
|
NativeUpsert::execute |
function |
core/lib/Drupal/Core/Database/Driver/pgsql/NativeUpsert.php |
Runs the query against the database. |
NativeUpsert::__toString |
function |
core/lib/Drupal/Core/Database/Driver/pgsql/NativeUpsert.php |
Implements PHP magic __toString method to convert the query to a string. |
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/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Upsert.php |
PostgreSQL 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.php |
file |
core/lib/Drupal/Core/Database/Driver/mysql/Upsert.php |
|
Upsert.php |
file |
core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/Upsert.php |
|
Upsert.php |
file |
core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Upsert.php |
|
Upsert.php |
file |
core/lib/Drupal/Core/Database/Driver/sqlite/Upsert.php |
|
Upsert.php |
file |
core/lib/Drupal/Core/Database/Driver/pgsql/Upsert.php |
|
Upsert.php |
file |
core/lib/Drupal/Core/Database/Query/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 |
Runs the query against the database. |
Upsert::execute |
function |
core/lib/Drupal/Core/Database/Driver/pgsql/Upsert.php |
Runs the query against the database. |
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/lib/Drupal/Core/Database/Driver/sqlite/Upsert.php |
Implements PHP magic __toString method to convert the query to a string. |
Upsert::__toString |
function |
core/lib/Drupal/Core/Database/Driver/pgsql/Upsert.php |
Implements PHP magic __toString method to convert the query to a string. |
Upsert::__toString |
function |
core/lib/Drupal/Core/Database/Driver/mysql/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::testSpecialColumnUpsert |
function |
core/tests/Drupal/KernelTests/Core/Database/UpsertTest.php |
Tests that we can upsert records with a special named column. |
UpsertTest::testUpsert |
function |
core/tests/Drupal/KernelTests/Core/Database/UpsertTest.php |
Confirms that we can upsert (update-or-insert) records successfully. |