Skip to content

Commit 0a3fdab

Browse files
author
David Erb
committed
adds comment
1 parent 8df4a0c commit 0a3fdab

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/dls_normsql/aiosqlite.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ def __init__(self, specification, database_definition_object):
7171
self.__last_restore = 0
7272

7373
# ----------------------------------------------------------------------------------------
74+
# In aiosqlite, autocommit is enabled by default, which means changes made to the database are automatically committed
75+
# after each SQL statement execution. This behavior aligns with the common usage patterns in asynchronous programming,
76+
# where individual database operations are often executed within a coroutine or an asynchronous function.
77+
7478
async def connect(self, should_drop_database=False):
7579
"""
7680
Connect to database at filename given in constructor.

0 commit comments

Comments
 (0)