const queriedScheduleEntries = await dbInstance
.select(
scheduleEntryTable.id.as('id'),
collaboratorTable.id,
collaboratorTable.isActive,
collaboratorTable.employeeId,
collaboratorTable.projectId,
employeeTable.name,
projectTable.name,
)
.from(scheduleEntryTable, collaboratorTable)
.innerJoin(collaboratorTable, collaboratorTable.id.eq(scheduleEntryTable.collaboratorId))
.innerJoin(employeeTable, employeeTable.id.eq(collaboratorTable.employeeId))
.innerJoin(projectTable, projectTable.id.eq(collaboratorTable.projectId))
.exec();