prisma 5.20.0-dev.11 → 5.20.0-dev.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +4 -4
- package/package.json +10 -10
- package/prisma-client/generator-build/index.js +9 -9
- package/prisma-client/package.json +3 -3
- package/prisma-client/runtime/binary.js +52 -52
- package/prisma-client/runtime/edge-esm.js +15 -15
- package/prisma-client/runtime/edge.js +15 -15
- package/prisma-client/runtime/library.d.ts +8 -1
- package/prisma-client/runtime/library.js +31 -31
- package/prisma-client/runtime/query_engine_bg.mysql.js +2 -2
- package/prisma-client/runtime/query_engine_bg.postgresql.js +2 -2
- package/prisma-client/runtime/query_engine_bg.sqlite.js +2 -2
- package/prisma-client/runtime/react-native.d.ts +8 -1
- package/prisma-client/runtime/react-native.js +17 -17
- package/prisma-client/scripts/default-index.js +3 -3
|
@@ -872,7 +872,7 @@ export declare interface DriverAdapter extends Queryable {
|
|
|
872
872
|
/**
|
|
873
873
|
* Starts new transaction.
|
|
874
874
|
*/
|
|
875
|
-
|
|
875
|
+
transactionContext(): Promise<Result_4<TransactionContext>>;
|
|
876
876
|
/**
|
|
877
877
|
* Optional method that returns extra connection info
|
|
878
878
|
*/
|
|
@@ -3215,6 +3215,13 @@ declare namespace Transaction_2 {
|
|
|
3215
3215
|
}
|
|
3216
3216
|
}
|
|
3217
3217
|
|
|
3218
|
+
declare interface TransactionContext extends Queryable {
|
|
3219
|
+
/**
|
|
3220
|
+
* Starts new transaction.
|
|
3221
|
+
*/
|
|
3222
|
+
startTransaction(): Promise<Result_4<Transaction>>;
|
|
3223
|
+
}
|
|
3224
|
+
|
|
3218
3225
|
declare type TransactionHeaders = {
|
|
3219
3226
|
traceparent?: string;
|
|
3220
3227
|
};
|