Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
drewverlee opened this issue Mar 16, 2024 · 0 comments
Open

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

drewverlee opened this issue Mar 16, 2024 · 0 comments

Comments

@drewverlee
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant