MDrivenStart Attributes
Hans Karlsen (talk | contribs) (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 |
||
(13 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 SingleAttribute|more settings on an attribute]]''' here. | |||
To handle lists of values, use '''[[MDrivenStart Associations|associations]]'''. | |||
{{MDrivenStart_Template}} | |||
[[Category:MDrivenStart]] |
Latest revision as of 05:44, 24 July 2023
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.
This page was edited more than 1 years ago on 07/24/2023. What links here