2 messages in com.googlegroups.sqlalchemy[sqlalchemy] sqlalchemy_types names c...| From | Sent On | Attachments |
|---|---|---|
| Lukasz Szybalski | 21 Dec 2007 11:20 | |
| Michael Bayer | 21 Dec 2007 13:27 |
| Subject: | [sqlalchemy] sqlalchemy_types names consistency![]() |
|---|---|
| From: | Lukasz Szybalski (szyb...@gmail.com) |
| Date: | 12/21/2007 11:20:10 AM |
| List: | com.googlegroups.sqlalchemy |
http://www.sqlalchemy.org/docs/04/sqlalchemy_types.html
Is there a reason why I can define my column with Integer or INTEGER but not Decimal,Text,Blob etc.
Shouldn't there be some kind of consistency? Either Capitalized letters or ALLCAPS, or Both on all types. Unless there is a reason why this is made like this.
Thanks, Lucas
Fortunately it only took 10min to find the right docs.
module sqlalchemy.types
* class BLOB(Binary) * class BOOLEAN(Boolean) * class Binary(TypeEngine) * class Boolean(TypeEngine) * class CHAR(String) * class CLOB(TEXT) * class DATE(Date) * class DATETIME(DateTime) * class DECIMAL(Numeric) * class Date(TypeEngine) * class DateTime(TypeEngine) * class FLOAT(Float) * class Float(Numeric) * class INT(Integer) * class Integer(TypeEngine) * class Interval(TypeDecorator) * class NCHAR(Unicode) * class NUMERIC(Numeric) * class Numeric(TypeEngine) * class PickleType(MutableType,TypeDecorator) * class SMALLINT(SmallInteger) * class SmallInteger(Integer) * class String(Concatenable,TypeEngine) * class TEXT(String) * class TIME(Time) * class TIMESTAMP(DateTime) * class Time(TypeEngine) * class TypeDecorator(AbstractType) * class TypeEngine(AbstractType) * class Unicode(String) * class VARCHAR(String)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to sqla...@googlegroups.com
To unsubscribe from this group, send email to
sqla...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---




