MDrivenStart Attributes
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Attributes have simple types (one single value). The type of this simple value must be stated. Typically the type of an attribute is one of these: | Attributes have simple types (one single value). The type of this simple value must be stated. Typically the type of an attribute is one of these: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
|String | |String | ||
Line 29: | Line 27: | ||
There are '''[[MDrivenStart SingleAttribute|more settings on an attribute]]''' here. | There are '''[[MDrivenStart SingleAttribute|more settings on an attribute]]''' here. | ||
To handle lists of values | To handle lists of values, use '''[[MDrivenStart Associations|associations]]'''. | ||
{{MDrivenStart_Template}} | {{MDrivenStart_Template}} | ||
[[Category:MDrivenStart]] | [[Category:MDrivenStart]] |
Revision as of 06:06, 12 May 2023
Attributes have simple types (one single value). The type of this simple value must be stated. Typically the type of an attribute is one of these:
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 meaning that 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