Type alias ComputedValueProperties

ComputedValueProperties: {
    computeOn: WriteOperation[];
    expression: string;
    failOnWarning: boolean;
    keepNull: boolean;
    name: string;
    overwrite: boolean;
}

Properties defining a computed value.

Type declaration

  • computeOn: WriteOperation[]

    Which operations should result in the value being computed.

  • expression: string

    AQL RETURN expression that computes the value.

  • failOnWarning: boolean

    Whether the write operation should fail if the expression produces a warning.

  • keepNull: boolean

    If set to false, the field will be unset if the expression evaluates to null. Otherwise the field will be set to the value null. Has no effect if overwrite is set to false.

  • name: string

    Name of the target attribute of the computed value.

  • overwrite: boolean

    If set to false, the computed value will not be applied if the expression evaluates to null.