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

Function isReadOperation

packages/db/src/session-consistency.ts:42–43  ·  view source on GitHub ↗
(operation: string)

Source from the content-addressed store, hash-verified

40 WRITE_OPERATIONS.includes(operation as Operation);
41
42const isReadOperation = (operation: string) =>
43 READ_OPERATIONS.includes(operation as Operation);
44
45async function getCurrentWalLsn(
46 prismaClient: BarePrismaClient,

Callers 1

sessionConsistencyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected