REAL can be imported from the dialect:

from sqlalchemy.dialects.postgresql import REAL


http://www.sqlalchemy.org/docs/reference/dialects/postgresql.html?highlight=real#sqlalchemy.dialects.postgresql.base.REAL


you can use the search box on the SQLAlchemy documentation to find elements 
like these (http://www.sqlalchemy.org/docs/search.html).




On Jun 17, 2010, at 8:12 PM, Marcio wrote:

> hi, anybody ever needed a REAL field mapping with SQLAlchemy e
> PostGreSQL, to provide an example.
> Thank you very much.
> 
> ---
> 
> On 14 jun, 20:43, Marcio <[email protected]> wrote:
>> Hello,
>> I'm using Pylons, Sqlalchimy and PostgreSQL, and am having trouble to
>> save a field with null value in a postgres table where the field was
>> defined by the typeREALand allowing null value. With the pylons
>> while trying to save have an error saying that the value for the field
>> can not be null.
>> 
>> Anyone know why this happens?
>> Thank you.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sqlalchemy" group.
> To post to this group, send email to [email protected].
> 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.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected].
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