Skip to main content
Sometimes, you may want to set default values for item fields
Helix will use the default value if a value is not provided when inserting the item.

Default value types


Example

In the example below, the age field has not been provided when inserting the item so the default value of 0 will be used.