MDrivenStart Attributes
(Created page with "Attributes has simple types (one single value). The type of this simple value must be stated. Typically the type of an attribute is one these") |
No edit summary Tags: Manual revert 2017 source edit |
||
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Attributes | Attributes have simple types (one single value). The type of simple value must be stated. Typically, the type of an attribute is one of these: | ||
{| class="wikitable" | |||
|'''Name''' | |||
|'''Description''' | |||
|- | |||
|String | |||
|A string with a max storable length | |||
|- | |||
|Text | |||
|A longer text of any size but not directly searchable | |||
|- | |||
|Integer | |||
|A number without decimals | |||
|- | |||
|Double | |||
|Any number | |||
|- | |||
|DateTime | |||
|Date and time | |||
|- | |||
|Boolean | |||
|Yes or No value | |||
|- | |||
|Blob | |||
|Binary data of any kind | |||
|} | |||
Attributes can be ''nullable'' - they hold information that no value has been assigned. For integers, this means that there is a clear distinction between zero and nothing. | |||
There are '''[[MDrivenStart:MDrivenStart SingleAttribute|more settings on an attribute]]''' here. | |||
To handle lists of values, use '''[[MDrivenStart:MDrivenStart Associations|associations]]'''. | |||
{{MDrivenStart_Template}} | |||
[[Category:MDrivenStart]] |
Latest revision as of 12:30, 31 January 2025
This page was created by Hans.karlsen on 2020-07-06. Last edited by Stephanie on 2025-01-31.
Attributes have simple types (one single value). The type of simple value must be stated. Typically, the type of an attribute is one of these:
Name | Description |
String | A string with a max storable length |
Text | A longer text of any size but not directly searchable |
Integer | A number without decimals |
Double | Any number |
DateTime | Date and time |
Boolean | Yes or No value |
Blob | Binary data of any kind |
Attributes can be nullable - they hold information that no value has been assigned. For integers, this means that there is a clear distinction between zero and nothing.
There are more settings on an attribute here.
To handle lists of values, use associations.