张沈鹏(电子科大 毕/就业倒计时...) 写道:
> I just mean default value in the create table's sql .
>
> such as
> CREATE TABLE xxx
> (
>     id INTEGER NOT NULL,
>     value INTEGER default 0
> )
>   
xxx = sqlalchemy.Table("xxx", my_metadata(),
    sqlalchemy.Column("state", sqlalchemy.Integer, nullable = False, 
default = 0),
)

--~--~---------~--~----~------------~-------~--~----~
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