MDrivenStart Attributes
Hans Karlsen (talk | contribs) No edit summary |
No edit summary |
||
(12 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" | {| class="wikitable" | ||
|'''Name''' | |||
|'''Description''' | |||
|- | |- | ||
|String | |String | ||
|A string with a max storable length | |A string with a max storable length | ||
|- | |- | ||
|Text | |Text | ||
|A longer text of any size but not directly searchable | |A longer text of any size but not directly searchable | ||
|- | |- | ||
|Integer | |Integer | ||
|A number without decimals | |A number without decimals | ||
|- | |- | ||
|Double | |Double | ||
|Any number | |Any number | ||
|- | |- | ||
|DateTime | |DateTime | ||
|Date and time | |Date and time | ||
|- | |- | ||
|Boolean | |Boolean | ||
|Yes or No value | |Yes or No value | ||
|- | |- | ||
|Blob | |Blob | ||
|Binary data of any kind | |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