Generated
Executes constructor.
constructor
The db value.
db
The function result.
Objective: In module packages/db/src/repositories/inspecoes.repository.ts, run constructor.
packages/db/src/repositories/inspecoes.repository.ts
Behavior: accepts db; returns a value.
Private
Executes create.
create
The data value.
data
Objective: In module packages/db/src/repositories/inspecoes.repository.ts, run create.
Behavior: Async; accepts data; returns a value; invokes this.db .insert(inspectionItems) .values({ tenantId: data.te.
this.db .insert(inspectionItems) .values({ tenantId: data.te
Returns the result of findByInspection.
findByInspection
The inspectionId value.
inspectionId
The tenantId value.
tenantId
Objective: In module packages/db/src/repositories/inspecoes.repository.ts, retrieve data through findByInspection.
Behavior: Async; accepts inspectionId and tenantId; returns a value; invokes this.db .select() .from(inspectionItems) .where(and(eq(inspe.
this.db .select() .from(inspectionItems) .where(and(eq(inspe
Executes
constructor.