Hello,

apologies if I'm the obvious or important things in the documentation
- and I'm obviously very new to SQLAlchemy...

I'd like to create my own types which are aware of different database
dialects. For example, I need a type 'Double' which holds a
representation of a double precision floating point number. With
MySQL, I would  robably use the native DOUBLE type, with Oracle
BINARY_DOUBLE. I would like to encapsulate the data base dependency
with a properly defined custom type.

Is there a straigtforward way to achieve this? I have managed to build
custom types, of course, but I haven't found a way on how to deduce
the current data base engine / dialect from the types.TypeEngine...

Many thanks,

  Christian.


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to