[CDBI] How to retrieve meta information from database: not null, default, ...?

[prev] [thread] [next] [Date index for 2005/09/12]

From: Alex Aminoff
Subject: [CDBI] How to retrieve meta information from database: not null, default, ...?
Date: 14:27 on 12 Sep 2005
I would like to have access to more info from the database. I am using
Class::DBI::Loader. I would like to know if a given column is "NOT NULL",
and its default value in the schema. There is other information available
from "DESC <table>" or "SHOW TABLE STATUS" which might be nice to have
tucked away somewhere in the data structure.

Is there some sort of plugin that does this?

 - Alex Aminoff
   BaseSpace.net




_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

[CDBI] Question
Tyler Rorabaugh 06:55 on 08 Sep 2005

Re: [CDBI] Question
merlyn (Randal L. Schwartz) 10:57 on 08 Sep 2005

[CDBI] How to retrieve meta information from database: not null, default, ...?
Alex Aminoff 14:27 on 12 Sep 2005

Re: [CDBI] Question
Matt S Trout 13:11 on 08 Sep 2005

Generated at 23:46 on 13 Sep 2005 by mariachi v0.52