columns support an .info collection which is generic, but this is not  
linked to DDL in any way.

You can create comments inline with a Table using the DDL() construct.

A built in SQLA feature would likely look like a Comment() schema  
object but there haven't been any plans for this.   It is of course a  
straightforward feature add.

On Oct 27, 2008, at 1:43 PM, Michael Schlenker wrote:

>
> Hi,
>
> i looked at the API doc but found no obvious way to specify a  
> COMMENT clause
> for a schema object.
>
> Is there any support for this in SA or anything planned?
>
> Basically you can add comments to schema objects in e.g. Oracle, via a
> COMMENT command.
> (for Oracle
> http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_4009.htm#i2119719
>  
> ,
> SQL Server supports something similar,
> and Postgresql too
> http://www.postgresql.org/docs/8.3/interactive/sql-comment.html)
>
> Would be nice to be able to reflect a docstring into the database  
> schema
> that way.
>
> Michael
>
> -- 
> Michael Schlenker
> Software Engineer
>
> CONTACT Software GmbH           Tel.:   +49 (421) 20153-80
> Wiener Straße 1-3               Fax:    +49 (421) 20153-41
> 28359 Bremen
> http://www.contact.de/          E-Mail: [EMAIL PROTECTED]
>
> Sitz der Gesellschaft: Bremen
> Geschäftsführer: Karl Heinz Zachries, Ralf Holtgrefe
> Eingetragen im Handelsregister des Amtsgerichts Bremen unter HRB 13215
>
> >


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