I’m trying to upgrade to sdk 3.0, but it seem still quite incomplete.
The intellisense is not working because there is something that make vs code generate the auto complete from version 2.4.
Without intellisense I have to watch the docs for every little things.
Leaving that aside, I need to query a view and the docs says to specify ViewUpdateMode for the stale parameter but that class is totally missing.
I tried to file a bug report on Jira, but I can’t login. Did you disable external bug report?
This should be fixed in the next release of the SDK, you can track the issue here:
Thanks. I saw the commit and the code use scan consistency instead of stale.
Do scan consistency and stale map 1:1?
I need to query a view, not execute n1ql query.
That’s accurate, ViewScanConsistency mirrors the values that are provided by the underlying view’s stale flag. Note that ViewScanConsistency is defined differently from QueryScanConsistency.
Hi @brett19, found another minor issue with the new sdk.
The docs says to use createparent option on subdoc api, but the real option is called createPath, createparent is ignored.
By the way, is there any option to force the creation of document with the sub doc api if it is not existing?
Nice catch, I’ve filed https://issues.couchbase.com/browse/JSCBC-765 to get this fixed.