Is there a way to retrieve the CAS from the document?
See original GitHub issueAs one of the approaches to concurrency-safe mutating document, I need to get the CAS from the document and replace the doc with it.
I didn’t find a documentation about the CAS retrieving, digging into the code it seems the findById
only gets back the value
(that is replaced by content according to latest sdk)
https://github.com/couchbaselabs/node-ottoman/blob/d8a4936ed996526735bae3fca478fda1516d582c/src/model/create-model.ts#L190-L192
Will it be a good idea to have the ottoman to support both query CAS and update with it? my two cents,
- Enhancement on
FindByIdOptions
to allow querying the CAS - Enhancement on
updateById
to allow passing a CAS(probably viaMutationFunctionOptions
)?
Issue Analytics
- State:
- Created a year ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Retrieve CAS Registry Numbers - CAS.org
From the session page toolbar, select Assistants > Sequence Search. From the Sequence Search Assistant page, select Retrieve RNs from BLAST. ...
Read more >Retrieving Documents via the CAS API - Liaison International
This guide walks you through setting up and retrieving application documents from the CAS API on demand.
Read more >CAS Letter: Documents, Validity & Processing Time
A CAS letter is an essential document that is used to apply for a student visa and verifies that a student has been...
Read more >Information Sheet: Your CAS Statement explained
You will receive your CAS Statement by email. There is no hard copy document. You do not need to submit your CAS Statement...
Read more >Confirmation of Acceptance for Studies (CAS)
You can request a CAS as soon as you have accepted an unconditional offer. How long it takes to receive your CAS number...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Next release we plan to expose a way to return the CAS value when available.
@gsi-alejandro where are we on this ? cc @ejscribner @thejcfactor