Skip to content

Commit 2202264

Browse files
authored
Update query.py
1 parent 9aa14a4 commit 2202264

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DatabaseLibrary/query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def row_count(
146146
data = cur.fetchall()
147147
self._commit_if_needed(db_connection, no_transaction)
148148
col_names = [c[0] for c in cur.description]
149-
if db_connection.module_name in ["sqlite3", "ibm_db", "ibm_db_dbi", "pyodbc", "jaydebeapi"]:
149+
if db_connection.module_name in ["sqlite3", "ibm_db", "ibm_db_dbi", "pyodbc", "jaydebeapi","duckdb"]:
150150
current_row_count = len(data)
151151
else:
152152
current_row_count = cur.rowcount

0 commit comments

Comments
 (0)