@sfutureapps/db-sdk 0.3.27 → 0.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sfutureapps/db-sdk",
3
- "version": "0.3.27",
3
+ "version": "0.3.28",
4
4
  "description": "SfutureApps JS SDK for ThinkPHP DB Gateway (MySQL)",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -139,7 +139,7 @@ export class QueryBuilder {
139
139
 
140
140
  if (this._page != null) payload.page = this._page;
141
141
  if (this._offset != null) payload.offset = this._offset;
142
- if (this._joins.length > 0) payload.joins = this._joins;
142
+ if (this._joins.length > 0) payload.joins = JSON.stringify(this._joins);
143
143
 
144
144
  const res = await post({ endpoint: "v3/api/query", data: payload });
145
145