MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / profileIndexKey

Function profileIndexKey

packages/db/scripts/migrate-sessions.ts:37–38  ·  view source on GitHub ↗
(projectId: string, profileId: string)

Source from the content-addressed store, hash-verified

35const sessionKey = (projectId: string, deviceId: string) =>
36 `session:${projectId}:${deviceId}`;
37const profileIndexKey = (projectId: string, profileId: string) =>
38 `session:profile:${projectId}:${profileId}`;
39const wallclockSetKey = (projectId: string) =>
40 `session:wallclock:${projectId}`;
41const PROJECTS_SET_KEY = 'session:projects';

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected