Search for insert

  1. Search 9.5.x for insert
  2. Search 8.9.x for insert
  3. Search 10.3.x for insert
  4. Search 11.x for insert
  5. Other projects
Title Object type File name Summary
ajax_command_insert function includes/ajax.inc Creates a Drupal Ajax 'insert' command using the method in #ajax['method'].
ajax_forms_test_advanced_commands_insert_callback function modules/simpletest/tests/ajax_forms_test.module Ajax callback for 'insert'.
book_node_insert function modules/book/book.module Implements hook_node_insert().
comment_node_insert function modules/comment/comment.module Implements hook_node_insert().
comment_node_type_insert function modules/comment/comment.module Implements hook_node_type_insert().
Database::RETURN_INSERT_ID constant includes/database/database.inc Flag to indicate a query call should return the "last insert id".
DatabaseCaseSensitivityTestCase::testCaseSensitiveInsert function modules/simpletest/tests/database_test.test Test BINARY collation in MySQL.
DatabaseConnection::insert function includes/database/database.inc Prepares and returns an INSERT query object.
DatabaseInsertDefaultsTestCase class modules/simpletest/tests/database_test.test Insert tests for "database default" values.
DatabaseInsertDefaultsTestCase::getInfo function modules/simpletest/tests/database_test.test
DatabaseInsertDefaultsTestCase::testDefaultEmptyInsert function modules/simpletest/tests/database_test.test Test that no action will be preformed if no fields are specified.
DatabaseInsertDefaultsTestCase::testDefaultInsert function modules/simpletest/tests/database_test.test Test that we can run a query that is "default values for everything".
DatabaseInsertDefaultsTestCase::testDefaultInsertWithFields function modules/simpletest/tests/database_test.test Test that we can insert fields with values and defaults in the same query.
DatabaseInsertLOBTestCase class modules/simpletest/tests/database_test.test Insert tests using LOB fields, which are weird on some databases.
DatabaseInsertLOBTestCase::getInfo function modules/simpletest/tests/database_test.test
DatabaseInsertLOBTestCase::testInsertMultipleBlob function modules/simpletest/tests/database_test.test Test that we can insert multiple blob fields in the same query.
DatabaseInsertLOBTestCase::testInsertOneBlob function modules/simpletest/tests/database_test.test Test that we can insert a single blob field successfully.
DatabaseInsertTestCase class modules/simpletest/tests/database_test.test Test the insert builder.
DatabaseInsertTestCase::getInfo function modules/simpletest/tests/database_test.test
DatabaseInsertTestCase::testInsertFieldOnlyDefinintion function modules/simpletest/tests/database_test.test Test that we can specify fields without values and specify values later.
DatabaseInsertTestCase::testInsertLastInsertID function modules/simpletest/tests/database_test.test Test that inserts return the proper auto-increment ID.
DatabaseInsertTestCase::testInsertSelectAll function modules/simpletest/tests/database_test.test Tests that the INSERT INTO ... SELECT * ... syntax works.
DatabaseInsertTestCase::testInsertSelectFields function modules/simpletest/tests/database_test.test Test that the INSERT INTO ... SELECT (fields) ... syntax works.
DatabaseInsertTestCase::testMultiInsert function modules/simpletest/tests/database_test.test Test that we can insert multiple records in one query object.
DatabaseInsertTestCase::testRepeatedInsert function modules/simpletest/tests/database_test.test Test that an insert object can be reused with new data after it executes.
DatabaseInsertTestCase::testSimpleInsert function modules/simpletest/tests/database_test.test Test the very basic insert functionality.
DatabaseInvalidDataTestCase::testInsertDuplicateData function modules/simpletest/tests/database_test.test Traditional SQL database systems abort inserts when invalid data is encountered.
DatabaseMergeTestCase::testMergeInsert function modules/simpletest/tests/database_test.test Confirm that we can merge-insert a record successfully.
DatabaseMergeTestCase::testMergeInsertWithoutUpdate function modules/simpletest/tests/database_test.test Test that we can merge-insert without any update fields.
DatabaseReservedKeywordTestCase::testInsertReservedWordTable function modules/simpletest/tests/database_test.test
DatabaseTransactionTestCase::insertRow function modules/simpletest/tests/database_test.test Insert a single row into the testing table.
db_insert function includes/database/database.inc Returns a new InsertQuery object for the active database.
DrupalTestCase::insertAssert function modules/simpletest/drupal_web_test_case.php Store an assertion from outside the testing context.
entity_crud_hook_test_comment_insert function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_comment_insert().
entity_crud_hook_test_entity_insert function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_entity_insert().
entity_crud_hook_test_file_insert function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_file_insert().
entity_crud_hook_test_node_insert function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_node_insert().
entity_crud_hook_test_taxonomy_term_insert function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_taxonomy_term_insert().
entity_crud_hook_test_taxonomy_vocabulary_insert function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_taxonomy_vocabulary_insert().
entity_crud_hook_test_user_insert function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_user_insert().
FieldSqlStorageTestCase::testFieldAttachInsertAndUpdate function modules/field/modules/field_sql_storage/field_sql_storage.test Reads mysql to verify correct data is
written when using insert and update.
field_attach_insert function modules/field/field.attach.inc Save field data for a new entity.
field_default_insert function modules/field/field.default.inc Default field 'insert' operation.
FIELD_STORAGE_INSERT constant modules/field/field.attach.inc Argument for an insert operation.
field_test_field_insert function modules/field/tests/field_test.field.inc Implements hook_field_insert().
file_field_insert function modules/file/file.field.inc Implements hook_field_insert().
file_test_file_insert function modules/simpletest/tests/file_test.module Implements hook_file_insert().
filter_test_filter_format_insert function modules/simpletest/tests/filter_test.module Implements hook_filter_format_insert().
forum_field_storage_pre_insert function modules/forum/forum.module Implements hook_field_storage_pre_insert().
forum_node_insert function modules/forum/forum.module Implements hook_node_insert().

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