Mercurial > hg > isophonics-drupal-site
comparison core/lib/Drupal/Core/Database/database.api.php @ 16:c2387f117808
Routine composer update
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 15:07:59 +0100 |
parents | 4c8ae668cc8c |
children | 129ea1e6d783 |
comparison
equal
deleted
inserted
replaced
15:e200cb7efeb3 | 16:c2387f117808 |
---|---|
254 * curly-brackets. For example, the node table vid field | 254 * curly-brackets. For example, the node table vid field |
255 * description might contain "Always holds the largest (most | 255 * description might contain "Always holds the largest (most |
256 * recent) {node_field_revision}.vid value for this nid." | 256 * recent) {node_field_revision}.vid value for this nid." |
257 * - 'type': The generic datatype: 'char', 'varchar', 'text', 'blob', 'int', | 257 * - 'type': The generic datatype: 'char', 'varchar', 'text', 'blob', 'int', |
258 * 'float', 'numeric', or 'serial'. Most types just map to the according | 258 * 'float', 'numeric', or 'serial'. Most types just map to the according |
259 * database engine specific datatypes. Use 'serial' for auto incrementing | 259 * database engine specific data types. Use 'serial' for auto incrementing |
260 * fields. This will expand to 'INT auto_increment' on MySQL. | 260 * fields. This will expand to 'INT auto_increment' on MySQL. |
261 * A special 'varchar_ascii' type is also available for limiting machine | 261 * A special 'varchar_ascii' type is also available for limiting machine |
262 * name field to US ASCII characters. | 262 * name field to US ASCII characters. |
263 * - 'mysql_type', 'pgsql_type', 'sqlite_type', etc.: If you need to | 263 * - 'mysql_type', 'pgsql_type', 'sqlite_type', etc.: If you need to |
264 * use a record type not included in the officially supported list | 264 * use a record type not included in the officially supported list |
270 * - 'serialize': A boolean indicating whether the field will be stored as | 270 * - 'serialize': A boolean indicating whether the field will be stored as |
271 * a serialized string. | 271 * a serialized string. |
272 * - 'size': The data size: 'tiny', 'small', 'medium', 'normal', | 272 * - 'size': The data size: 'tiny', 'small', 'medium', 'normal', |
273 * 'big'. This is a hint about the largest value the field will | 273 * 'big'. This is a hint about the largest value the field will |
274 * store and determines which of the database engine specific | 274 * store and determines which of the database engine specific |
275 * datatypes will be used (e.g. on MySQL, TINYINT vs. INT vs. BIGINT). | 275 * data types will be used (e.g. on MySQL, TINYINT vs. INT vs. BIGINT). |
276 * 'normal', the default, selects the base type (e.g. on MySQL, | 276 * 'normal', the default, selects the base type (e.g. on MySQL, |
277 * INT, VARCHAR, BLOB, etc.). | 277 * INT, VARCHAR, BLOB, etc.). |
278 * Not all sizes are available for all data types. See | 278 * Not all sizes are available for all data types. See |
279 * DatabaseSchema::getFieldTypeMap() for possible combinations. | 279 * DatabaseSchema::getFieldTypeMap() for possible combinations. |
280 * - 'not null': If true, no NULL values will be allowed in this | 280 * - 'not null': If true, no NULL values will be allowed in this |