]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
(no commit message)
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 5 Nov 2005 04:45:12 +0000 (04:45 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 5 Nov 2005 04:45:12 +0000 (04:45 +0000)
lib/sqlalchemy/databases/sqlite.py

index 660763f49a2c8a62773c52d666ed7270d6684d37..453618fde82f7604406c1867a0ad9393ac8243cd 100644 (file)
@@ -136,8 +136,9 @@ class SQLiteSQLEngine(ansisql.ANSISQLEngine):
             table.c[localcol].foreign_key = schema.ForeignKey(remotetable.c[remotecol])
             
 class SQLiteCompiler(ansisql.ANSICompiler):
-    pass
-
+    def __init__(self, *args, **params):
+        params.setdefault('paramstyle', 'named')
+        ansisql.ANSICompiler.__init__(self, *args, **params)
 
 class SQLiteSchemaGenerator(ansisql.ANSISchemaGenerator):
     def get_column_specification(self, column):