Skip to content

Commit f846b5b

Browse files
Fix grammar issue (#2785)
* Typo `can trigger` repeating twice in the `Eventing Keyspaces` section * As we only have Data Service, let us be consistent across as Data Service provider seems like another term for Data Service * Added language feature incorrectly positioned in the removed language features list * Add item under language restriction; importing libraries is not allowed * Import libs is restricted * Fix grammar issue in eventing-language-constructs * CAS is allowed to be set, albeit, it is a no-op in the upsert operation. Hence it is incorrect to document that upsert does not allow setting CAS for the document. * Fix grammar issue in eventing-timers.adoc * Updates after review --------- Co-authored-by: Simon Dew <[email protected]>
1 parent d5f6d76 commit f846b5b

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

modules/eventing/pages/eventing-advanced-keyspace-accessors.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ This API indicates errors via the error object in the return value. Exceptions a
341341
*The Advanced UPSERT operation*: _result = couchbase.upsert(binding, meta, doc)_
342342
343343
This operation allows updating an existing document in the bucket, or if absent, creating a fresh document with the specified key.
344-
The operation does not allow specifying CAS (it will be silently ignored).
344+
The operation does not allow you to specify CAS.
345345
It also allows specifying an expiration time (or TTL) to be set on the document.
346346
347347
Contrast this to the _Basic Bucket Accessor_ SET operation which merely uses an exposed JavaScript map defined via a bucket binding alias "src_col[meta.id] = adoc".

modules/eventing/pages/eventing-language-constructs.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ This deletes the provided key from the KV bucket the variable is bound to. If th
119119
=== Advanced Keyspace Accessors
120120

121121
The following advanced bucket accessors have been added to expose a richer set of options and operators.
122-
Unlike the basic bucket accessors these operations have non-trivial argument sets and return values for complete details refer to xref:eventing-advanced-keyspace-accessors.adoc[Advanced Keyspace Accessors Details].
122+
Unlike the basic bucket accessors these operations have non-trivial argument sets and return values.
123+
For complete details refer to xref:eventing-advanced-keyspace-accessors.adoc[].
123124

124125
Note, if the bucket binding has a wild card of `+++*+++` for the scope and/or the collection you must also provide _meta.keyspace_ in addition to _meta.id_ in the _meta_ object.
125126

modules/eventing/pages/eventing-timers.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
:page-edition: Enterprise Edition
44

55
{description}
6-
Timers also measure and track the amount of elapsed time and can be used while archiving of expired documents at a preconfigured time.
6+
Timers also measure and track the amount of elapsed time and can be used while archiving expired documents at a preconfigured time.
77

88
NOTE: When using timers, it is required that all nodes of the cluster are synchronized at computer startup, and periodically afterwards using a clock synchronization tool like NTP.
99

0 commit comments

Comments
 (0)