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(sesmtConfigurations) .values({ tenantId: dat.
this.db .insert(sesmtConfigurations) .values({ tenantId: dat
Returns the result of findByCompany.
findByCompany
The companyId value.
companyId
The tenantId value.
tenantId
Objective: In module packages/db/src/repositories/sesmt.repository.ts, retrieve data through findByCompany.
Behavior: Async; accepts companyId and tenantId; returns a value; invokes this.db .select() .from(sesmtConfigurations) .where( and( eq.
this.db .select() .from(sesmtConfigurations) .where( and( eq
Executes
constructor.