Variable: PrismaStorageAdapter
constPrismaStorageAdapter: <S,O>(prisma,options?) =>StorageAdapter<S,O> =PrismaAdapter
Defined in: packages/polizy/src/polizy.prisma.storage.ts:289
Alias for PrismaAdapter. Provided so the documented
PrismaStorageAdapter name resolves; both are the same factory.
Type Parameters
S
S extends string = string
O
O extends string = string
Parameters
prisma
PrismaClientLike
options?
snapshotIsolationLevel?
string
Isolation level for StorageAdapter.withSnapshot. With Postgres use
"RepeatableRead" — MVCC means readers never block writers and writers
never block readers. SQLite ignores isolation levels (its read
transaction is already a snapshot), so leave it unset there.
Returns
StorageAdapter<S, O>