Connection::insert |
function |
core/lib/Drupal/Core/Database/Connection.php |
Prepares and returns an INSERT query object. |
Connection::lastInsertId |
function |
core/lib/Drupal/Core/Database/Connection.php |
Returns the ID of the last inserted row or sequence value. |
Database::RETURN_INSERT_ID |
constant |
core/lib/Drupal/Core/Database/Database.php |
Flag to indicate a query call should return the "last insert id". |
DatabaseBackend::doInsert |
function |
core/lib/Drupal/Core/Flood/DatabaseBackend.php |
Inserts an event into the flood table. |
hook_entity_insert |
function |
core/lib/Drupal/Core/Entity/entity.api.php |
Respond to creation of a new entity. |
hook_entity_translation_insert |
function |
core/lib/Drupal/Core/Entity/entity.api.php |
Respond to creation of a new entity translation. |
hook_ENTITY_TYPE_insert |
function |
core/lib/Drupal/Core/Entity/entity.api.php |
Respond to creation of a new entity of a particular type. |
hook_ENTITY_TYPE_translation_insert |
function |
core/lib/Drupal/Core/Entity/entity.api.php |
Respond to creation of a new entity translation of a particular type. |
Insert |
class |
core/lib/Drupal/Core/Database/Query/Insert.php |
General class for an abstracted INSERT query. |
Insert |
class |
core/lib/Drupal/Core/Database/Driver/pgsql/Insert.php |
PostgreSQL implementation of \Drupal\Core\Database\Query\Insert. |
Insert |
class |
core/lib/Drupal/Core/Database/Driver/mysql/Insert.php |
MySQL implementation of \Drupal\Core\Database\Query\Insert. |
Insert |
class |
core/lib/Drupal/Core/Database/Driver/sqlite/Insert.php |
SQLite implementation of \Drupal\Core\Database\Query\Insert. |
Insert.php |
file |
core/lib/Drupal/Core/Database/Driver/mysql/Insert.php |
|
Insert.php |
file |
core/lib/Drupal/Core/Database/Driver/pgsql/Insert.php |
|
Insert.php |
file |
core/lib/Drupal/Core/Database/Driver/sqlite/Insert.php |
|
Insert.php |
file |
core/lib/Drupal/Core/Database/Query/Insert.php |
|
Insert::$fromQuery |
property |
core/lib/Drupal/Core/Database/Query/Insert.php |
A SelectQuery object to fetch the rows that should be inserted. |
Insert::execute |
function |
core/lib/Drupal/Core/Database/Query/Insert.php |
Executes the insert query. |
Insert::from |
function |
core/lib/Drupal/Core/Database/Query/Insert.php |
Sets the fromQuery on this InsertQuery object. |
Insert::preExecute |
function |
core/lib/Drupal/Core/Database/Query/Insert.php |
Preprocesses and validates the query. |
Insert::__construct |
function |
core/lib/Drupal/Core/Database/Query/Insert.php |
Constructs an Insert object. |
Insert::__toString |
function |
core/lib/Drupal/Core/Database/Query/Insert.php |
Implements PHP magic __toString method to convert the query to a string. |
InsertCommand |
class |
core/lib/Drupal/Core/Ajax/InsertCommand.php |
Generic AJAX command for inserting content. |
InsertCommand.php |
file |
core/lib/Drupal/Core/Ajax/InsertCommand.php |
|
InsertCommand::$content |
property |
core/lib/Drupal/Core/Ajax/InsertCommand.php |
The content for the matched element(s). |
InsertCommand::$selector |
property |
core/lib/Drupal/Core/Ajax/InsertCommand.php |
A CSS selector string. |
InsertCommand::$settings |
property |
core/lib/Drupal/Core/Ajax/InsertCommand.php |
A settings array to be passed to any attached JavaScript behavior. |
InsertCommand::render |
function |
core/lib/Drupal/Core/Ajax/InsertCommand.php |
Implements Drupal\Core\Ajax\CommandInterface:render(). |
InsertCommand::__construct |
function |
core/lib/Drupal/Core/Ajax/InsertCommand.php |
Constructs an InsertCommand object. |
InsertTrait |
trait |
core/lib/Drupal/Core/Database/Query/InsertTrait.php |
Provides common functionality for INSERT and UPSERT queries. |
InsertTrait.php |
file |
core/lib/Drupal/Core/Database/Query/InsertTrait.php |
|
InsertTrait::$defaultFields |
property |
core/lib/Drupal/Core/Database/Query/InsertTrait.php |
An array of fields that should be set to their database-defined defaults. |
InsertTrait::$insertFields |
property |
core/lib/Drupal/Core/Database/Query/InsertTrait.php |
An array of fields on which to insert. |
InsertTrait::$insertValues |
property |
core/lib/Drupal/Core/Database/Query/InsertTrait.php |
A nested array of values to insert. |
InsertTrait::$table |
property |
core/lib/Drupal/Core/Database/Query/InsertTrait.php |
The table on which to insert. |
InsertTrait::count |
function |
core/lib/Drupal/Core/Database/Query/InsertTrait.php |
#[\ReturnTypeWillChange] |
InsertTrait::fields |
function |
core/lib/Drupal/Core/Database/Query/InsertTrait.php |
Adds a set of field->value pairs to be inserted. |
InsertTrait::getInsertPlaceholderFragment |
function |
core/lib/Drupal/Core/Database/Query/InsertTrait.php |
Returns the query placeholders for values that will be inserted. |
InsertTrait::useDefaults |
function |
core/lib/Drupal/Core/Database/Query/InsertTrait.php |
Specifies fields for which the database defaults should be used. |
InsertTrait::values |
function |
core/lib/Drupal/Core/Database/Query/InsertTrait.php |
Adds another set of values to the query to be inserted. |
Merge::$insertFields |
property |
core/lib/Drupal/Core/Database/Query/Merge.php |
An array of fields on which to insert. |
Merge::$insertValues |
property |
core/lib/Drupal/Core/Database/Query/Merge.php |
An array of values to be inserted. |
Merge::insertFields |
function |
core/lib/Drupal/Core/Database/Query/Merge.php |
Adds a set of field->value pairs to be inserted. |
Merge::STATUS_INSERT |
constant |
core/lib/Drupal/Core/Database/Query/Merge.php |
Returned by execute() if an INSERT query has been executed. |
TestDatabase::insertAssert |
function |
core/lib/Drupal/Core/Test/TestDatabase.php |
Store an assertion from outside the testing context. |