Skip to content

Commit

Permalink
NiFi Scripts: sqlite query builder updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
vladd-bit committed May 13, 2024
1 parent fb333a0 commit 1d2c6f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nifi/user-scripts/utils/sqlite_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def create_connection(db_file_path: str, read_only_mode=False) -> sqlite3.Connec
if read_only_mode:
connection_str += "?mode=ro"

return sqlite3.connect(connection_str)
return sqlite3.connect(connection_str, uri=True)


def query_with_connection(query: str, sqlite_connection: sqlite3.Connection) -> List:
Expand Down

0 comments on commit 1d2c6f0

Please sign in to comment.