(
row: { id: string; _etag: string | null; data: string },
idKey: PropertyKey,
defaultValues: Partial<Encoded>
)
| 34 | if (e._tag === "OptimisticConcurrencyException") return e as OptimisticConcurrencyException |
| 35 | } |
| 36 | return toDatabaseError(e) |
| 37 | } |
| 38 | |
| 39 | export type WithNsTransactionFn = <A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R> |
| 40 | |
| 41 | export class WithNsTransaction |
| 42 | extends Context.Service<WithNsTransaction, WithNsTransactionFn>()("effect-app/WithNsTransaction") |
| 43 | {} |
| 44 | |
| 45 | /** @internal */ |
| 46 | export const parseRow = <Encoded extends FieldValues>( |
no test coverage detected
searching dependent graphs…