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