We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 883efd2 commit a820e9bCopy full SHA for a820e9b
README.md
@@ -39,7 +39,7 @@ Then, write as many queries as you want, and when you are done, you can commit t
39
someMethod = async () => {
40
const pool = await dataSource.connect(DATABASE_POOL);
41
const transactionConnection = await dataSource.transactionConnection(pool);
42
- transactionConnection.beginTransaction();
+ await transactionConnection.beginTransaction();
43
44
try {
45
await transactionConnection.execute(SOME_QUERY, []);
0 commit comments