@reldens/storage 0.10.0-beta.20 → 0.10.0-beta.21

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.
@@ -47,12 +47,12 @@ class ObjectionJsDriver extends BaseDriver
47
47
 
48
48
  updateById(id, params)
49
49
  {
50
- return this.rawModel.query().patch(params).where(this.id, id);
50
+ return this.rawModel.query().patchAndFetchById(id, params);
51
51
  }
52
52
 
53
53
  delete(id)
54
54
  {
55
- return this.rawModel.query().delete().where(this.id, id);
55
+ return this.rawModel.query().deleteById(id);
56
56
  }
57
57
 
58
58
  count(filters)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@reldens/storage",
3
3
  "scope": "@reldens",
4
- "version": "0.10.0-beta.20",
4
+ "version": "0.10.0-beta.21",
5
5
  "description": "Reldens - Storage",
6
6
  "author": "Damian A. Pastorini",
7
7
  "license": "MIT",