Skip to content

Commit 2c4a4b7

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 94a39a5 commit 2c4a4b7

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
@@ -320,7 +320,7 @@ This API indicates errors via the error object in the return value. Exceptions a
320320
*The Advanced UPSERT operation*: _result = couchbase.upsert(binding, meta, doc)_
321321
322322
This operation allows updating an existing document in the bucket, or if absent, creating a fresh document with the specified key.
323-
The operation does not allow specifying CAS (it will be silently ignored).
323+
The operation does not allow you to specify CAS.
324324
It also allows specifying an expiration time (or TTL) to be set on the document.
325325
326326
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
@@ -116,7 +116,8 @@ This deletes the provided key from the KV bucket the variable is bound to. If th
116116
=== Advanced Keyspace Accessors
117117

118118
The following advanced bucket accessors have been added to expose a richer set of options and operators.
119-
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].
119+
Unlike the basic bucket accessors these operations have non-trivial argument sets and return values.
120+
For complete details refer to xref:eventing-advanced-keyspace-accessors.adoc[].
120121

121122
[#advanced-get-op]
122123
* *The Advanced GET operation*: _result = couchbase.get(binding, meta)_

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)