MCPcopy Create free account
hub / github.com/Braineanear/EcommerceAPI / updateOne

Function updateOne

monolithic/src/app/shared/services/base.service.ts:55–61  ·  view source on GitHub ↗
(filter: object, update: object)

Source from the content-addressed store, hash-verified

53 }
54
55 async updateOne(filter: object, update: object): Promise<T> {
56 const result = await this.repository.updateOne(filter, update);
57 if (!result) {
58 this.throwNotFound();
59 }
60 return result;
61 }
62
63 async updateMany(filter: object, update: object): Promise<any> {
64 const result = await this.repository.updateMany(filter, update);

Callers

nothing calls this directly

Calls 1

updateOneMethod · 0.65

Tested by

no test coverage detected