Skip to content

Commit e93b3fa

Browse files
committed
Tweak example queries
1 parent baaf89e commit e93b3fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ While Equinox is implemented in F#, and F# is a great fit for writing event-sour
390390
391391
# use a wild card (LIKE) for the stream name
392392
eqx query -cl '$Us%' -un Snapshotted cosmos -d db -c $EQUINOX_COSMOS_VIEWS -b 100000
393-
# > Querying Default: SELECT c._etag, c.u[0].d, c.p FROM c WHERE c.p LIKE "$Us%" AND EXISTS (SELECT VALUE u FROM u IN c.u WHERE u.c = "Snapshotted") {}
393+
# > Querying Default: SELECT c.p, c._etag, c.u[0].d FROM c WHERE c.p LIKE "$Us%" AND EXISTS (SELECT VALUE u FROM u IN c.u WHERE u.c = "Snapshotted") {}
394394
# > Page 7166s, 7166u, 0e 320.58RU 3.9s {}
395395
# > Page 1608s, 1608u, 0e 68.59RU 0.9s {}
396396
# > TOTALS 1c, 8774s, 389.17RU 4.7s {}
@@ -403,7 +403,7 @@ While Equinox is implemented in F#, and F# is a great fit for writing event-sour
403403
404404
# add criteria filtering based on an Uncompressed Unfold
405405
eqx query -cn '$User' -un EmailIndex -uc 'u.d.email = "[email protected]"' cosmos -d db -c $EQUINOX_COSMOS_VIEWS -b 100000
406-
# > Querying Default: SELECT c._etag, c.u[0].d, c.p FROM c WHERE c.p LIKE "$User-%" AND EXISTS (SELECT VALUE u FROM u IN c.u WHERE u.c = "EmailIndex" AND u.d.email = "[email protected]") {}
406+
# > Querying Default: SELECT c.p, c._etag, c.u[0].d FROM c WHERE c.p LIKE "$User-%" AND EXISTS (SELECT VALUE u FROM u IN c.u WHERE u.c = "EmailIndex" AND u.d.email = "[email protected]") {}
407407
# > Page 0s, 0u, 0e 2.8RU 0.7s {}
408408
# > TOTALS 0c, 0s, 2.80RU 0.7s {} # 👈 only 2.8RU if nothing is returned
409409

0 commit comments

Comments
 (0)