eventsourcingdb 0.12.0 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -201,6 +201,8 @@ for await (const row of client.runEventQlQuery(`
|
|
|
201
201
|
}
|
|
202
202
|
```
|
|
203
203
|
|
|
204
|
+
*Note that each row returned by the iterator matches the projection specified in your query.*
|
|
205
|
+
|
|
204
206
|
#### Aborting a Query
|
|
205
207
|
|
|
206
208
|
If you need to abort a query use `break` or `return` within the `await for` loop. However, this only works if there is currently an iteration going on.
|
|
@@ -222,8 +224,6 @@ for await (const row of client.runEventQlQuery(`
|
|
|
222
224
|
controller.abort();
|
|
223
225
|
```
|
|
224
226
|
|
|
225
|
-
*Note that each row returned by the iterator matches the projection specified in your query.*
|
|
226
|
-
|
|
227
227
|
### Observing Events
|
|
228
228
|
|
|
229
229
|
To observe all events of a subject, call the `observeEvents` function with the subject as the first argument and an options object as the second argument. Set the `recursive` option to `false`. This ensures that only events of the given subject are returned, not events of nested subjects.
|