Generated
Executes constructor.
constructor
The db value.
db
The function result.
Objective: In module packages/db/src/repositories/epi-purchase-request.repository.ts, run constructor.
packages/db/src/repositories/epi-purchase-request.repository.ts
Behavior: accepts db; returns a value.
Private
Executes create.
create
The data value.
data
Objective: In module packages/db/src/repositories/epi-purchase-request.repository.ts, run create.
Behavior: Async; accepts data; returns a value; invokes this.db .insert(epiPurchaseRequestEvents) .values({ tenantId.
this.db .insert(epiPurchaseRequestEvents) .values({ tenantId
Returns the result of findByRequestId.
findByRequestId
The requestId value.
requestId
The tenantId value.
tenantId
Objective: In module packages/db/src/repositories/epi-purchase-request.repository.ts, retrieve data through findByRequestId.
Behavior: Async; accepts requestId and tenantId; returns a value; invokes this.db .select() .from(epiPurchaseRequestEvents) .where( an.
this.db .select() .from(epiPurchaseRequestEvents) .where( an
Executes
constructor.