spice-couchbase 2.0.37 → 2.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +1 -1
- package/package.json +1 -1
- package/src/index.js +1 -2
package/build/index.js
CHANGED
|
@@ -476,7 +476,7 @@ module.exports = class Database {
|
|
|
476
476
|
var order_by = arguments.length > 5 ? arguments[5] : undefined;
|
|
477
477
|
var do_count = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : "false";
|
|
478
478
|
var query_scope = arguments.length > 7 ? arguments[7] : undefined;
|
|
479
|
-
var join = arguments.length > 8 ? arguments[8] :
|
|
479
|
+
var join = arguments.length > 8 && arguments[8] !== undefined ? arguments[8] : "";
|
|
480
480
|
return _asyncToGenerator(function* () {
|
|
481
481
|
var is_legacy = _this15.scope_name !== "_default" && _this15.collection_name !== "_default";
|
|
482
482
|
var bucket = "`".concat(_this15.use_bucket_name ? _this15.bucket : _this15.collection_name, "`");
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -418,7 +418,7 @@ module.exports = class Database {
|
|
|
418
418
|
order_by,
|
|
419
419
|
do_count = "false",
|
|
420
420
|
query_scope,
|
|
421
|
-
join
|
|
421
|
+
join = ""
|
|
422
422
|
) {
|
|
423
423
|
const is_legacy =
|
|
424
424
|
this.scope_name !== "_default" && this.collection_name !== "_default";
|
|
@@ -463,7 +463,6 @@ module.exports = class Database {
|
|
|
463
463
|
|
|
464
464
|
const active_query_space =
|
|
465
465
|
query_scope || !this.use_bucket_name ? "scope" : "cluster";
|
|
466
|
-
|
|
467
466
|
const queries = [this.getData(query, active_query_space)];
|
|
468
467
|
if (do_count === "true") {
|
|
469
468
|
queries.push(this.getCount(count_query, active_query_space));
|