spice-couchbase 2.0.27 → 2.0.28

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 CHANGED
@@ -456,7 +456,7 @@ module.exports = class Database {
456
456
  var fix = ", META(".concat(bucket, ").id AS id");
457
457
 
458
458
  if (columns === "*" || !columns) {
459
- columns = "(".concat(bucket, ").*");
459
+ columns = "(".concat(bucket, ").* ").concat(fix);
460
460
  } else if (!containsIdWithSpace(columns)) {
461
461
  columns = "".concat(columns).concat(fix);
462
462
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spice-couchbase",
3
- "version": "2.0.27",
3
+ "version": "2.0.28",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "scripts": {
package/src/index.js CHANGED
@@ -426,7 +426,7 @@ module.exports = class Database {
426
426
  const fix = `, META(${bucket}).id AS id`;
427
427
 
428
428
  if (columns === "*" || !columns) {
429
- columns = `(${bucket}).*`;
429
+ columns = `(${bucket}).* ${fix}`;
430
430
  } else if (!containsIdWithSpace(columns)) {
431
431
  columns = `${columns}${fix}`;
432
432
  }