| Schema |
class |
core/lib/Drupal/Core/Database/Schema.php |
Provides a base implementation for Database Schema. |
| Schema |
class |
core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Schema.php |
CoreFakeWithAllCustomClasses implementation of \Drupal\Core\Database\Schema. |
| Schema |
class |
core/modules/sqlite/src/Driver/Database/sqlite/Schema.php |
SQLite implementation of \Drupal\Core\Database\Schema. |
| Schema |
class |
core/modules/mysql/src/Driver/Database/mysql/Schema.php |
MySQL implementation of \Drupal\Core\Database\Schema. |
| Schema |
class |
core/modules/pgsql/src/Driver/Database/pgsql/Schema.php |
PostgreSQL implementation of \Drupal\Core\Database\Schema. |
| Schema |
class |
core/tests/Drupal/Tests/Core/Database/Stub/Driver/Schema.php |
A very minimal class for testing purposes. |
| Schema API |
group |
core/lib/Drupal/Core/Database/database.api.php |
API to handle database schemas. |
| Schema.php |
file |
core/lib/Drupal/Core/Database/Schema.php |
|
| Schema.php |
file |
core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Schema.php |
|
| Schema.php |
file |
core/modules/pgsql/src/Driver/Database/pgsql/Schema.php |
|
| Schema.php |
file |
core/tests/Drupal/Tests/Core/Database/Stub/Driver/Schema.php |
|
| Schema.php |
file |
core/modules/sqlite/src/Driver/Database/sqlite/Schema.php |
|
| Schema.php |
file |
core/modules/mysql/src/Driver/Database/mysql/Schema.php |
|
| Schema::$connection |
property |
core/lib/Drupal/Core/Database/Schema.php |
The database connection. |
| Schema::$defaultSchema |
property |
core/lib/Drupal/Core/Database/Schema.php |
Definition of prefixInfo array structure. |
| Schema::$defaultSchema |
property |
core/modules/sqlite/src/Driver/Database/sqlite/Schema.php |
Override DatabaseSchema::$defaultSchema. |
| Schema::$maxIdentifierLength |
property |
core/modules/pgsql/src/Driver/Database/pgsql/Schema.php |
The maximum allowed length for index, primary key and constraint names. |
| Schema::$mysqlStringTypes |
property |
core/modules/mysql/src/Driver/Database/mysql/Schema.php |
List of MySQL string types. |
| Schema::$placeholder |
property |
core/lib/Drupal/Core/Database/Schema.php |
The placeholder counter. |
| Schema::$tableInformation |
property |
core/modules/pgsql/src/Driver/Database/pgsql/Schema.php |
A cache of information about blob columns and sequences of tables. |
| Schema::$tempNamespaceName |
property |
core/modules/pgsql/src/Driver/Database/pgsql/Schema.php |
PostgreSQL's temporary namespace name. |
| Schema::$uniqueIdentifier |
property |
core/lib/Drupal/Core/Database/Schema.php |
A unique identifier for this query object. |
| Schema::addField |
function |
core/lib/Drupal/Core/Database/Schema.php |
Add a new field to a table. |
| Schema::addField |
function |
core/modules/sqlite/src/Driver/Database/sqlite/Schema.php |
Add a new field to a table. |
| Schema::addField |
function |
core/modules/mysql/src/Driver/Database/mysql/Schema.php |
Add a new field to a table. |
| Schema::addField |
function |
core/modules/pgsql/src/Driver/Database/pgsql/Schema.php |
Add a new field to a table. |
| Schema::addIndex |
function |
core/modules/pgsql/src/Driver/Database/pgsql/Schema.php |
Add an index. |
| Schema::addIndex |
function |
core/lib/Drupal/Core/Database/Schema.php |
Add an index. |
| Schema::addIndex |
function |
core/modules/sqlite/src/Driver/Database/sqlite/Schema.php |
Add an index. |
| Schema::addIndex |
function |
core/modules/mysql/src/Driver/Database/mysql/Schema.php |
Add an index. |
| Schema::addPrimaryKey |
function |
core/modules/sqlite/src/Driver/Database/sqlite/Schema.php |
Add a primary key. |
| Schema::addPrimaryKey |
function |
core/modules/mysql/src/Driver/Database/mysql/Schema.php |
Add a primary key. |
| Schema::addPrimaryKey |
function |
core/modules/pgsql/src/Driver/Database/pgsql/Schema.php |
Add a primary key. |
| Schema::addPrimaryKey |
function |
core/lib/Drupal/Core/Database/Schema.php |
Add a primary key. |
| Schema::addUniqueKey |
function |
core/lib/Drupal/Core/Database/Schema.php |
Add a unique key. |
| Schema::addUniqueKey |
function |
core/modules/sqlite/src/Driver/Database/sqlite/Schema.php |
Add a unique key. |
| Schema::addUniqueKey |
function |
core/modules/mysql/src/Driver/Database/mysql/Schema.php |
Add a unique key. |
| Schema::addUniqueKey |
function |
core/modules/pgsql/src/Driver/Database/pgsql/Schema.php |
Add a unique key. |
| Schema::alterTable |
function |
core/modules/sqlite/src/Driver/Database/sqlite/Schema.php |
Create a table with a new schema containing the old content. |
| Schema::buildTableNameCondition |
function |
core/modules/mysql/src/Driver/Database/mysql/Schema.php |
Builds a condition to match a table name with the information schema. |
| Schema::buildTableNameCondition |
function |
core/lib/Drupal/Core/Database/Schema.php |
Builds a condition to match a table name against the information_schema. |
| Schema::changeField |
function |
core/lib/Drupal/Core/Database/Schema.php |
Change a field definition. |
| Schema::changeField |
function |
core/modules/sqlite/src/Driver/Database/sqlite/Schema.php |
Change a field definition. |
| Schema::changeField |
function |
core/modules/mysql/src/Driver/Database/mysql/Schema.php |
Change a field definition. |
| Schema::changeField |
function |
core/modules/pgsql/src/Driver/Database/pgsql/Schema.php |
Change a field definition. |
| Schema::COMMENT_MAX_COLUMN |
constant |
core/modules/mysql/src/Driver/Database/mysql/Schema.php |
Maximum length of a column comment in MySQL. |
| Schema::COMMENT_MAX_TABLE |
constant |
core/modules/mysql/src/Driver/Database/mysql/Schema.php |
Maximum length of a table comment in MySQL. |
| Schema::constraintExists |
function |
core/modules/pgsql/src/Driver/Database/pgsql/Schema.php |
Helper function: check if a constraint (PK, FK, UK) exists. |
| Schema::createColumnsSql |
function |
core/modules/sqlite/src/Driver/Database/sqlite/Schema.php |
Build the SQL expression for creating columns. |
| Schema::createFieldSql |
function |
core/modules/sqlite/src/Driver/Database/sqlite/Schema.php |
Create an SQL string for a field to be used in table create or alter. |