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

Function sessionKey

packages/db/scripts/migrate-sessions.ts:35–36  ·  view source on GitHub ↗
(projectId: string, deviceId: string)

Source from the content-addressed store, hash-verified

33import type { IClickhouseSession } from '../src/services/session.service';
34
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) =>

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected