[Dbix-class] Documentation of DBIx::Class schemas

Pedro Melo melo at simplicidade.org
Thu Nov 8 16:13:04 GMT 2007


Hi,

On Nov 8, 2007, at 3:32 PM, Jess Robinson wrote:
> On Wed, 7 Nov 2007, RICHARD COX wrote:
>
>> Not sure about other RDBMSs but in Oracle you can
>> create comments on tables, columns, views, pretty much
>> anything.
[...]
> SQL::T supports this too, and thus so does DBIC. If you pass in a  
> comments => '' key to your column_info, that info will be output as  
> "comment on column XX" in your sql.. For Oracle, anyways, the other  
> producers do something appropriate for each DB (most of which  
> probably mean "--" comments ;)

So if I switch to 'comments' I'll see them in the Database. Thats nice.

Do you support comments in the source_info() to set some text for the  
entire table?

Thanks,
-- 
Pedro Melo
Blog: http://www.simplicidade.org/notes/
XMPP ID: melo at simplicidade.org
Use XMPP!





More information about the DBIx-Class mailing list