@sfutureapps/db-sdk 0.3.31 → 0.3.32

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.31",
3
+ "version": "0.3.32",
4
4
  "description": "SfutureApps JS SDK for ThinkPHP DB Gateway (MySQL)",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -200,7 +200,7 @@ export class QueryBuilder {
200
200
  }
201
201
  return post({
202
202
  endpoint: "v3/api/update",
203
- data: { table: this.tableName, values, filters: this._filters }
203
+ data: { table: this.tableName, values, filters: JSON.stringify(this._filters) }
204
204
  });
205
205
  }
206
206
 
@@ -210,7 +210,7 @@ export class QueryBuilder {
210
210
  }
211
211
  return post({
212
212
  endpoint: "v3/api/delete",
213
- data: { table: this.tableName, filters: this._filters }
213
+ data: { table: this.tableName, filters: JSON.stringify(this._filters) }
214
214
  });
215
215
  }
216
216
  }