Skip to main content
backdrop Documentation
Documentation and API source code for Backdrop CMS.
  • Welcome!
    • Login

Search for data

  1. Home »
  2. API reference »
  3. 1.x
Name Type Location Description
DatabaseStatementPrefetch::valid function core/includes/database/prefetch.inc
DatabaseStatementPrefetch::fetch function core/includes/database/prefetch.inc
DatabaseConnection::prefixTables function core/includes/database/database.inc Appends a database prefix to all tables in a query.
DatabaseConnection::prepareQuery function core/includes/database/database.inc Prepares a query string and returns the prepared statement.
DatabaseConnection::databaseType function core/includes/database/database.inc Returns the name of the PDO driver for this connection.
_views_data_process_entity_types function core/modules/views/includes/cache.inc Links tables having an 'entity type' specified to the respective, generic entity-type tables.
DatabaseTransaction::$connection property core/includes/database/database.inc The connection object for this transaction.
DatabaseTransaction::$rolledBack property core/includes/database/database.inc A boolean value to indicate whether this transaction has been rolled back.
DatabaseTransaction::__construct function core/includes/database/database.inc Creates a database transaction object.
SelectQueryExtender::addMetaData function core/includes/database/select.inc Adds additional metadata to the query.
SelectQueryExtender::getMetaData function core/includes/database/select.inc Retrieves a given piece of metadata.
DatabaseStatementEmpty::rowCount function core/includes/database/database.inc Returns the number of rows affected by the last SQL statement.
DatabaseStatementEmpty::fetchAll function core/includes/database/database.inc
DatabaseStatementEmpty::fetchCol function core/includes/database/database.inc Returns an entire single column of a result set as an indexed array.
entityreference_field_views_data function core/modules/entityreference/views/entityreference.views.inc Implements hook_field_views_data().
DatabaseNextIdCase::testDbNextId function core/modules/simpletest/tests/database_test.test Test that the sequences API work.
ConfigDatabaseStorage::$database property core/includes/config.inc The database connection to use.
database_test_db_query_temporary function core/modules/simpletest/tests/database_test.module Run a db_query_temporary and output the table name and its number of rows.
ViewsHandlerFieldMath::viewsData function core/modules/views/tests/handlers/views_handler_field_math.test The views data definition.
LayoutContext::setDataFromRouter function core/modules/layout/plugins/context/layout_context.inc Set the context data from the router item.
ConfigDatabaseStorage::deleteAll function core/includes/config.inc Deletes configuration objects whose names start with a given prefix.
views_ui_pre_render_flatten_data function core/modules/views_ui/views_ui.admin.inc Flattens the structure of an element containing the #flatten property.
DatabaseSchema::uniqueIdentifier function core/includes/database/schema.inc Returns a unique identifier for this object.
DatabaseConnection_mysql::driver function core/includes/database/mysql/database.inc Returns the type of database driver.
DatabaseConnection_mysql::nextId function core/includes/database/mysql/database.inc Retrieves an unique id from a given sequence.
DatabaseStatementPrefetch::$data property core/includes/database/prefetch.inc Main data store.
DatabaseSchema_mysql::findTables function core/includes/database/mysql/schema.inc Find all tables that are like the specified base table name.
DatabaseSchema_mysql::getComment function core/includes/database/mysql/schema.inc Retrieve a table or column comment.
DatabaseStatementPrefetch::rewind function core/includes/database/prefetch.inc
BackupMySql::backupDatabaseToFile function core/includes/backup/backup.mysql.inc Backup the databases to a file.
DatabaseConnection::$prefixSearch property core/includes/database/database.inc List of search values for use in prefixTables().
DatabaseConnection_mysql::version function core/includes/database/mysql/database.inc Returns the version of the database server.
DatabaseConnection::filterComment function core/includes/database/database.inc Sanitize a query comment string.
DatabaseSelectTestCase::testUnion function core/modules/simpletest/tests/database_test.test Test that we can UNION multiple Select queries together. This is semantically equal to UNION DISTINCT, so we don't explicitly test that.
DatabaseConnection::inTransaction function core/includes/database/database.inc Determines if there is an active transaction open.
BackdropTestCase::$databasePrefix property core/modules/simpletest/backdrop_web_test_case.php The database prefix of this test run.
DatabaseConnection::$escapedNames property core/includes/database/database.inc List of escaped database, table, and field names, keyed by unescaped names.
DatabaseRegressionTestCase::setUp function core/modules/simpletest/tests/database_test.test Sets up a Backdrop site for running functional and integration tests.
DatabaseCondition::$stringVersion property core/includes/database/query.inc The string version of a query after it has been built.
DatabaseRangeQueryTestCase::setUp function core/modules/simpletest/tests/database_test.test Sets up a Backdrop site for running functional and integration tests.
DatabaseStatementBase::fetchField function core/includes/database/database.inc Returns a single field from the next record of a result set.
DatabaseStatementBase::fetchAssoc function core/includes/database/database.inc Fetches the next row and returns it as an associative array.
DatabaseCondition::ensureBrackets function core/includes/database/query.inc Ensures that the value being tested against is bracketed.
ViewsHandlerTestFileSize::dataSet function core/modules/views/tests/handlers/views_handler_field_file_size.test A very simple test dataset.
DatabaseTasks::checkEngineVersion function core/includes/install.inc Check the engine version.
DatabaseSchema::$uniqueIdentifier property core/includes/database/schema.inc A unique identifier for this query object.
FieldViewsDataTest::testViewsData function core/modules/field/tests/field_views.test Unit testing the views data structure.
DatabaseSchema::fieldSetNoDefault function core/includes/database/schema.inc Set a field to have no default value.
tabledrag_example_parent_get_data function modules/examples/tabledrag_example/tabledrag_example_parent_form.inc Retrieves the tree structure from database, and sorts by parent/child/weight.
DatabaseSchema_mysql::renameTable function core/includes/database/mysql/schema.inc Rename a table.

Pages

  • « first
  • ‹ previous
  • …
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • …
  • next ›
  • last »

Directory

  • Getting started
    • Installing
    • Updates vs upgrades
    • Hosting/deploying
  • Upgrading from Drupal
    • Introduction
    • Upgrade overview
    • Converting Drupal code
  • User guide
    • Quick start guide
    • Using Backdrop
  • Add-On Documentation
  • Developing for Backdrop
    • Developing modules
    • Developing themes
    • Developing layouts
    • Using libraries
    • Local development
    • Writing secure code
    • Using JavaScript
  • Contributors guide
    • Contribute to Backdrop core
      • How to use the core issue queue
      • Adding labels to issues
      • Adding milestones to issues
    • Contribute Backdrop add-ons
    • Contribute to documentation
  • Developer API
    • Topics
    • Functions
    • Classes
    • Files
    • Globals
    • Icon API
    • Database API
    • Theme functions
    • Form API reference
  • Appendix/reference
    • Change records
    • Glossary
    • Coding & documentation standards
    • Contrib permissions policy

Stay connected

Sign up for our newsletter

Powered by Backdrop CMS

Footer Menu

  • documentation
  • localization
  • events
  • forum
  • backdropcms.org