Skip to content

Is it possible to pass the old triplet value to then block?  #34

Description

@drewverlee

The :then conditional in the what block receives the old triplet value so can compare it to the new one.

If that old value could be passed to the then block, it could be used to do incremental updates to aggregates.

So instead of creating a derived list of values, then summing them, if a value in that list was updated, you would subtract the old value from a total, then add the new one.

That would be ideal performance wise right?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions