@@ -41,7 +41,7 @@ direction, and revision from which to start. The revision can be specified in se
4141- Use ` fromRevision ` with a specific revision number (64-bit signed integer)
4242
4343``` ts{2-3}
44- const events = client.readStream("some-stream ", {
44+ const events = client.readStream("order-123 ", {
4545 direction: FORWARDS,
4646 fromRevision: START,
4747 maxCount: 10,
@@ -51,7 +51,7 @@ const events = client.readStream("some-stream", {
5151You can also start reading from a specific revision in the stream:
5252
5353``` ts{3}
54- const events = client.readStream("some-stream ", {
54+ const events = client.readStream("order-123 ", {
5555 direction: FORWARDS,
5656 fromRevision: 10,
5757 maxCount: 10,
@@ -73,7 +73,7 @@ There are a number of additional arguments you can provide when reading a stream
7373Passing in the max count allows you to limit the number of events that returned.
7474
7575``` ts{4}
76- const events = client.readStream("some-stream ", {
76+ const events = client.readStream("order-123 ", {
7777 direction: FORWARDS,
7878 fromRevision: START,
7979 maxCount: 10,
@@ -85,7 +85,7 @@ const events = client.readStream("some-stream", {
8585When using projections to create new events you can set whether the generated events are pointers to existing events. Setting this value to true will tell KurrentDB to return the event as well as the event linking to it.
8686
8787``` ts{4}
88- const events = client.readStream("some-stream ", {
88+ const events = client.readStream("order-123 ", {
8989 direction: BACKWARDS,
9090 fromPosition: END,
9191 resolveLinkTos: true,
@@ -98,7 +98,7 @@ const events = client.readStream("some-stream", {
9898The credentials used to read the data can be used by the subscription as follows. This will override the default credentials set on the connection.
9999
100100``` ts{4-7}
101- const events = client.readStream("some-stream ", {
101+ const events = client.readStream("order-123 ", {
102102 direction: FORWARDS,
103103 fromRevision: START,
104104 credentials: {
@@ -114,7 +114,7 @@ const events = client.readStream("some-stream", {
114114In addition to reading a stream forwards, streams can be read backwards. To read all the events backwards, set the ` fromRevision ` to ` END ` :
115115
116116``` ts{2-3}
117- const events = client.readStream("some-stream ", {
117+ const events = client.readStream("order-123 ", {
118118 direction: BACKWARDS,
119119 fromRevision: END,
120120 maxCount: 10,
@@ -138,7 +138,7 @@ It is important to handle this exception when attempting to iterate a stream tha
138138For example:
139139
140140``` ts{12-14}
141- const events = client.readStream("some-stream ", {
141+ const events = client.readStream("order-123 ", {
142142 direction: FORWARDS,
143143 fromRevision: 10,
144144 maxCount: 20,
@@ -228,7 +228,7 @@ const events = client.readAll({
228228The credentials used to read the data can be used by the subscription as follows. This will override the default credentials set on the connection.
229229
230230``` ts{4-7}
231- const events = client.readStream("some-stream ", {
231+ const events = client.readStream("order-123 ", {
232232 direction: FORWARDS,
233233 fromRevision: START,
234234 credentials: {
@@ -245,7 +245,7 @@ In addition to reading the `$all` stream forwards, it can be read backwards. To
245245read all the events backwards, set the _ direction_ to ` BACKWARDS ` :
246246
247247``` ts{2-3}
248- const events = client.readStream("some-stream ", {
248+ const events = client.readStream("order-123 ", {
249249 direction: BACKWARDS,
250250 fromRevision: END,
251251 maxCount: 10,
0 commit comments