4.2. Kept and computed
A view is kept by default: the engine updates it on every append, in the same transaction. A kept view may only use what can be updated in one step per event (ValueExpr.kept): sum, count, last of, min, max, ever and never over types, lists, any, except and where on the picked event alone. In a view of a view only sum and count, since a source row can change and the latest row or a minimum can get worse. Anything else needs computed: true: such a view has no write path and is evaluated when it is read, where now() and windows measure from the read time.
-
The assignments of today count on the day and not on the next.
-
A kept view gives the same rows at any read time and when computed.
A view has no incoming event, so no part of it may use $field.