@@ -125,7 +125,7 @@ export function FilterRepositoryMixin<
125
125
} ;
126
126
127
127
/**
128
- * Filter id and find one entity
128
+ * History findById() using findOne()
129
129
*/
130
130
findById = async (
131
131
id : ID ,
@@ -165,7 +165,7 @@ export function FilterRepositoryMixin<
165
165
} ;
166
166
167
167
/**
168
- * Filter id and check one entity
168
+ * History exists() using count()
169
169
*/
170
170
exists = async ( id : ID , options ?: Options ) => {
171
171
const result = await this . count (
@@ -199,7 +199,7 @@ export function FilterRepositoryMixin<
199
199
} ;
200
200
201
201
/**
202
- * Filter id and update one entity
202
+ * History updateById() using updateAll()
203
203
*/
204
204
updateById = async (
205
205
id : ID ,
@@ -214,7 +214,7 @@ export function FilterRepositoryMixin<
214
214
} ;
215
215
216
216
/**
217
- * Filter id and update one entity
217
+ * History update() using updateAll()
218
218
*/
219
219
update = async ( entity : T , options ?: Options ) => {
220
220
await this . updateAll (
@@ -227,7 +227,7 @@ export function FilterRepositoryMixin<
227
227
} ;
228
228
229
229
/**
230
- * Filter id and replace one entity
230
+ * History replaceById() using updateAll()
231
231
*/
232
232
replaceById = async (
233
233
id : ID ,
@@ -266,7 +266,7 @@ export function FilterRepositoryMixin<
266
266
} ;
267
267
268
268
/**
269
- * Filter id and delete one entity
269
+ * History delete() using deleteAll()
270
270
*/
271
271
delete = async ( entity : T , options ?: Options ) => {
272
272
await this . deleteAll (
@@ -278,7 +278,7 @@ export function FilterRepositoryMixin<
278
278
} ;
279
279
280
280
/**
281
- * Filter id and delete one entity
281
+ * History deleteById() using deleteAll()
282
282
*/
283
283
deleteById = async ( id : ID , options ?: Options ) => {
284
284
await this . deleteAll (
0 commit comments