E.g. this very simple query does not work for some reason:
fromStream(‘mystreamname’).when({
$init: () => ({
total: 0
}),
BarcodeRegistered: (s,e) => {
s.total++;
}
});
I just get: "Falure (tap notification to dismiss) Query not update
(not very informative error message).
The debug button seems to do nothing.
The only info on practical using query window was a non EventStore guy showing something on youtube. And then there is the SINGLE and only example here: https://eventstore.org/docs/projections/user-defined-projections/index.html which does not run either (when I replace stream name with my stream name and event type with my event type).
So any help and better documentation will be appreciated
Thanks. I also found out from a prior post, that the query window of 4.1.1.0 does not work at all. Nice. We’re about to update to v 5.0 soon, so will hopefully help. Made the queries as one-time projections and things worked fine. The debug function probably does not work on 4.1.1.0 either, then.