couchbase 4.2.6-dev.1 → 4.2.7
Sign up to get free protection for your applications and to get access to all the features.
- package/CONTRIBUTING.md +97 -0
- package/deps/couchbase-cxx-client/.github/workflows/windows.yml +0 -3
- package/deps/couchbase-cxx-client/CMakeLists.txt +4 -0
- package/deps/couchbase-cxx-client/bin/build-tests.rb +1 -1
- package/deps/couchbase-cxx-client/core/impl/lookup_in.cxx +1 -0
- package/deps/couchbase-cxx-client/core/impl/lookup_in_all_replicas.cxx +176 -0
- package/deps/couchbase-cxx-client/core/impl/lookup_in_all_replicas.hxx +80 -0
- package/deps/couchbase-cxx-client/core/impl/lookup_in_any_replica.cxx +167 -0
- package/deps/couchbase-cxx-client/core/impl/lookup_in_any_replica.hxx +75 -0
- package/deps/couchbase-cxx-client/core/impl/lookup_in_replica.cxx +97 -0
- package/deps/couchbase-cxx-client/core/impl/lookup_in_replica.hxx +67 -0
- package/deps/couchbase-cxx-client/core/io/dns_client.cxx +48 -10
- package/deps/couchbase-cxx-client/core/io/http_session.hxx +24 -1
- package/deps/couchbase-cxx-client/core/io/mcbp_session.cxx +22 -1
- package/deps/couchbase-cxx-client/core/logger/custom_rotating_file_sink.cxx +1 -1
- package/deps/couchbase-cxx-client/core/logger/logger.cxx +80 -20
- package/deps/couchbase-cxx-client/core/logger/logger.hxx +31 -0
- package/deps/couchbase-cxx-client/core/meta/features.hxx +19 -0
- package/deps/couchbase-cxx-client/core/operations/document_lookup_in_all_replicas.hxx +192 -0
- package/deps/couchbase-cxx-client/core/operations/document_lookup_in_any_replica.hxx +188 -0
- package/deps/couchbase-cxx-client/core/operations.hxx +2 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_hello.hxx +1 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_lookup_in_replica.cxx +107 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_lookup_in_replica.hxx +137 -0
- package/deps/couchbase-cxx-client/core/protocol/hello_feature.hxx +6 -0
- package/deps/couchbase-cxx-client/core/protocol/hello_feature_fmt.hxx +3 -0
- package/deps/couchbase-cxx-client/core/range_scan_orchestrator.cxx +22 -1
- package/deps/couchbase-cxx-client/core/topology/capabilities.hxx +2 -0
- package/deps/couchbase-cxx-client/core/topology/capabilities_fmt.hxx +6 -0
- package/deps/couchbase-cxx-client/core/topology/configuration.hxx +10 -0
- package/deps/couchbase-cxx-client/core/topology/configuration_json.hxx +4 -1
- package/deps/couchbase-cxx-client/couchbase/collection.hxx +111 -0
- package/deps/couchbase-cxx-client/couchbase/get_and_lock_options.hxx +2 -2
- package/deps/couchbase-cxx-client/couchbase/get_and_touch_options.hxx +2 -2
- package/deps/couchbase-cxx-client/couchbase/get_options.hxx +2 -2
- package/deps/couchbase-cxx-client/couchbase/insert_options.hxx +3 -3
- package/deps/couchbase-cxx-client/couchbase/lookup_in_all_replicas_options.hxx +109 -0
- package/deps/couchbase-cxx-client/couchbase/lookup_in_any_replica_options.hxx +101 -0
- package/deps/couchbase-cxx-client/couchbase/lookup_in_options.hxx +2 -2
- package/deps/couchbase-cxx-client/couchbase/lookup_in_replica_result.hxx +74 -0
- package/deps/couchbase-cxx-client/couchbase/lookup_in_result.hxx +26 -0
- package/deps/couchbase-cxx-client/couchbase/mutate_in_options.hxx +2 -2
- package/deps/couchbase-cxx-client/couchbase/remove_options.hxx +2 -2
- package/deps/couchbase-cxx-client/couchbase/replace_options.hxx +3 -3
- package/deps/couchbase-cxx-client/couchbase/touch_options.hxx +2 -2
- package/deps/couchbase-cxx-client/couchbase/unlock_options.hxx +2 -2
- package/deps/couchbase-cxx-client/couchbase/upsert_options.hxx +3 -3
- package/deps/couchbase-cxx-client/docs/cbc-analytics.md +3 -2
- package/deps/couchbase-cxx-client/docs/cbc-get.md +3 -2
- package/deps/couchbase-cxx-client/docs/cbc-pillowfight.md +3 -2
- package/deps/couchbase-cxx-client/docs/cbc-query.md +3 -2
- package/deps/couchbase-cxx-client/test/test_integration_subdoc.cxx +655 -0
- package/deps/couchbase-cxx-client/test/utils/logger.cxx +7 -0
- package/deps/couchbase-cxx-client/tools/utils.cxx +9 -2
- package/dist/binding.d.ts +47 -0
- package/dist/collection.d.ts +53 -1
- package/dist/collection.js +139 -1
- package/dist/couchbase.d.ts +15 -0
- package/dist/couchbase.js +22 -1
- package/dist/crudoptypes.d.ts +24 -0
- package/dist/crudoptypes.js +14 -1
- package/package.json +13 -13
- package/src/binding.cpp +28 -0
- package/src/connection.cpp +4 -0
- package/src/connection.hpp +2 -0
- package/src/connection_autogen.cpp +28 -0
- package/src/jstocbpp_autogen.hpp +262 -0
@@ -115,8 +115,8 @@ initiate_remove_operation(std::shared_ptr<couchbase::core::cluster> core,
|
|
115
115
|
std::string scope_name,
|
116
116
|
std::string collection_name,
|
117
117
|
std::string document_key,
|
118
|
-
remove_options::built options,
|
119
|
-
remove_handler&& handler);
|
118
|
+
couchbase::remove_options::built options,
|
119
|
+
couchbase::remove_handler&& handler);
|
120
120
|
#endif
|
121
121
|
} // namespace impl
|
122
122
|
} // namespace core
|
@@ -175,9 +175,9 @@ initiate_replace_operation(std::shared_ptr<couchbase::core::cluster> core,
|
|
175
175
|
std::string scope_name,
|
176
176
|
std::string collection_name,
|
177
177
|
std::string document_key,
|
178
|
-
codec::encoded_value encoded,
|
179
|
-
replace_options::built options,
|
180
|
-
replace_handler&& handler);
|
178
|
+
couchbase::codec::encoded_value encoded,
|
179
|
+
couchbase::replace_options::built options,
|
180
|
+
couchbase::replace_handler&& handler);
|
181
181
|
#endif
|
182
182
|
} // namespace impl
|
183
183
|
} // namespace core
|
@@ -86,8 +86,8 @@ initiate_touch_operation(std::shared_ptr<couchbase::core::cluster> core,
|
|
86
86
|
std::string collection_name,
|
87
87
|
std::string document_key,
|
88
88
|
std::uint32_t expiry,
|
89
|
-
touch_options::built options,
|
90
|
-
touch_handler&& handler);
|
89
|
+
couchbase::touch_options::built options,
|
90
|
+
couchbase::touch_handler&& handler);
|
91
91
|
#endif
|
92
92
|
} // namespace impl
|
93
93
|
} // namespace core
|
@@ -89,8 +89,8 @@ initiate_unlock_operation(std::shared_ptr<couchbase::core::cluster> core,
|
|
89
89
|
std::string collection_name,
|
90
90
|
std::string document_key,
|
91
91
|
couchbase::cas cas,
|
92
|
-
unlock_options::built options,
|
93
|
-
unlock_handler&& handler);
|
92
|
+
couchbase::unlock_options::built options,
|
93
|
+
couchbase::unlock_handler&& handler);
|
94
94
|
#endif
|
95
95
|
} // namespace impl
|
96
96
|
} // namespace core
|
@@ -149,9 +149,9 @@ initiate_upsert_operation(std::shared_ptr<couchbase::core::cluster> core,
|
|
149
149
|
std::string scope_name,
|
150
150
|
std::string collection_name,
|
151
151
|
std::string document_key,
|
152
|
-
codec::encoded_value encoded,
|
153
|
-
upsert_options::built options,
|
154
|
-
upsert_handler&& handler);
|
152
|
+
couchbase::codec::encoded_value encoded,
|
153
|
+
couchbase::upsert_options::built options,
|
154
|
+
couchbase::upsert_handler&& handler);
|
155
155
|
#endif
|
156
156
|
} // namespace impl
|
157
157
|
} // namespace core
|
@@ -34,8 +34,9 @@ Execute one or more Analytics queries and print results to standard output.
|
|
34
34
|
### LOGGER OPTIONS
|
35
35
|
|
36
36
|
<dl>
|
37
|
-
<dt>`--log-level=LEVEL`</dt><dd>Log level (allowed values are: `trace`, `debug`, `info`, `warning`, `error`, `critical`, `off`). [default: `off`]
|
38
|
-
<dt>`--log-output=PATH`</dt><dd>File to send logs (when is not set, logs will be written to STDERR)
|
37
|
+
<dt>`--log-level=LEVEL`</dt><dd>Log level (allowed values are: `trace`, `debug`, `info`, `warning`, `error`, `critical`, `off`). [default: `off`]</dd>
|
38
|
+
<dt>`--log-output=PATH`</dt><dd>File to send logs (when is not set, logs will be written to STDERR).</dd>
|
39
|
+
<dt>`--log-protocol=PATH`</dt><dd>File to send protocol logs.</dd>
|
39
40
|
</dl>
|
40
41
|
|
41
42
|
### CONNECTION OPTIONS
|
@@ -34,8 +34,9 @@ Retrieve one or more documents from the server and print them to standard output
|
|
34
34
|
### LOGGER OPTIONS
|
35
35
|
|
36
36
|
<dl>
|
37
|
-
<dt>`--log-level=LEVEL`</dt><dd>Log level (allowed values are: `trace`, `debug`, `info`, `warning`, `error`, `critical`, `off`). [default: `off`]
|
38
|
-
<dt>`--log-output=PATH`</dt><dd>File to send logs (when is not set, logs will be written to STDERR)
|
37
|
+
<dt>`--log-level=LEVEL`</dt><dd>Log level (allowed values are: `trace`, `debug`, `info`, `warning`, `error`, `critical`, `off`). [default: `off`]</dd>
|
38
|
+
<dt>`--log-output=PATH`</dt><dd>File to send logs (when is not set, logs will be written to STDERR).</dd>
|
39
|
+
<dt>`--log-protocol=PATH`</dt><dd>File to send protocol logs.</dd>
|
39
40
|
</dl>
|
40
41
|
|
41
42
|
### CONNECTION OPTIONS
|
@@ -41,8 +41,9 @@ Run simple workload generator that sends GET/UPSERT requests with optional N1QL
|
|
41
41
|
### LOGGER OPTIONS
|
42
42
|
|
43
43
|
<dl>
|
44
|
-
<dt>`--log-level=LEVEL`</dt><dd>Log level (allowed values are: `trace`, `debug`, `info`, `warning`, `error`, `critical`, `off`). [default: `off`]
|
45
|
-
<dt>`--log-output=PATH`</dt><dd>File to send logs (when is not set, logs will be written to STDERR)
|
44
|
+
<dt>`--log-level=LEVEL`</dt><dd>Log level (allowed values are: `trace`, `debug`, `info`, `warning`, `error`, `critical`, `off`). [default: `off`]</dd>
|
45
|
+
<dt>`--log-output=PATH`</dt><dd>File to send logs (when is not set, logs will be written to STDERR).</dd>
|
46
|
+
<dt>`--log-protocol=PATH`</dt><dd>File to send protocol logs.</dd>
|
46
47
|
</dl>
|
47
48
|
|
48
49
|
### CONNECTION OPTIONS
|
@@ -42,8 +42,9 @@ Execute one or more N1QL queries and print results to standard output.
|
|
42
42
|
### LOGGER OPTIONS
|
43
43
|
|
44
44
|
<dl>
|
45
|
-
<dt>`--log-level=LEVEL`</dt><dd>Log level (allowed values are: `trace`, `debug`, `info`, `warning`, `error`, `critical`, `off`). [default: `off`]
|
46
|
-
<dt>`--log-output=PATH`</dt><dd>File to send logs (when is not set, logs will be written to STDERR)
|
45
|
+
<dt>`--log-level=LEVEL`</dt><dd>Log level (allowed values are: `trace`, `debug`, `info`, `warning`, `error`, `critical`, `off`). [default: `off`]</dd>
|
46
|
+
<dt>`--log-output=PATH`</dt><dd>File to send logs (when is not set, logs will be written to STDERR).</dd>
|
47
|
+
<dt>`--log-protocol=PATH`</dt><dd>File to send protocol logs.</dd>
|
47
48
|
</dl>
|
48
49
|
|
49
50
|
### CONNECTION OPTIONS
|