Hi,

please fine hereunder a small patch to enable the REAL
datatype in SQLite.

Regards,

Erik


Index: dialects/sqlite/base.py
===================================================================
--- dialects/sqlite/base.py     (revision 8096)
+++ dialects/sqlite/base.py     (working copy)
@@ -290,6 +290,9 @@
     def visit_large_binary(self, type_):
         return self.visit_BLOB(type_)
 
+    def visit_REAL(self, type_):
+        return "REAL"
+
 class SQLiteIdentifierPreparer(compiler.IdentifierPreparer):
     reserved_words = set([
         'add', 'after', 'all', 'alter', 'analyze', 'and', 'as', 'asc',


-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to