Function: fetchAgentsBySession()
Makaio Framework / services-core / fetchAgentsBySession
Function: fetchAgentsBySession()
Section titled “Function: fetchAgentsBySession()”fetchAgentsBySession(
db,sessionIds):Promise<Map<string,object[]>>
Defined in: ../../../packages/services/core/src/session/storage/fts-search-utils.ts:65
Loads agent rows and groups them by session ID.
Parameters
Section titled “Parameters”MakaioDatabase
Drizzle database instance
sessionIds
Section titled “sessionIds”string[]
Matched session IDs
Returns
Section titled “Returns”Promise<Map<string, object[]>>
Agent rows keyed by session ID