Default values

March 15, 2018 ยท View on GitHub

Default values for attributes can be specified with the attribute.default configuration property.

collections:
  example_collection:
    attributes:
      example_attribute:
        default: 200

They will be used for create and upsert commands.

Functions can be used.

collections:
  example_collection:
    attributes:
      example_attribute:
        default: (timestamp)