@reldens/storage 0.10.0-beta.23 → 0.10.0-beta.24
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.
|
@@ -135,11 +135,7 @@ class ObjectionJsDriver extends BaseDriver
|
|
|
135
135
|
|
|
136
136
|
loadByIds(ids)
|
|
137
137
|
{
|
|
138
|
-
|
|
139
|
-
for(let id of ids){
|
|
140
|
-
queryBuilder.where(this.rawModel.idColumn, id);
|
|
141
|
-
}
|
|
142
|
-
return queryBuilder;
|
|
138
|
+
return this.queryBuilder().findByIds(ids);
|
|
143
139
|
}
|
|
144
140
|
|
|
145
141
|
loadOne(filters)
|