Skip to content

Commit 26e8629

Browse files
committed
uppercase PRAGMA
1 parent b32448a commit 26e8629

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

litequery/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def _create_connection(self) -> sqlite3.Connection:
176176
autocommit=True,
177177
)
178178
conn.row_factory = row_factory
179-
pragmas = (f"pragma {p} = {v}" for p, v in self.PRAGMAS)
179+
pragmas = (f"PRAGMA {p} = {v}" for p, v in self.PRAGMAS)
180180
conn.executescript(";".join(pragmas))
181181
return conn
182182

0 commit comments

Comments
 (0)