Hello,
does DBI support getting the column types for row? I digged the source
and found that DBD::Mysql does something on it but I don’t know, how get
actually use it.
Thanks,
-billy.
···
–
Meisterbohne Söflinger Straße 100 Tel: +49-731-399 499-0
eLösungen 89077 Ulm Fax: +49-731-399 499-9
take a look at this attachment. it’s my general library for accessing a
database.
you’ll notice that in the DBConnection class there is a method called
load_meta. in it you’ll see @connection.columns() this pulls down the
meta-info including types into a hash.
hope that helps.
~transami
database.rb (6.99 KB)
···
On Tue, 2002-08-06 at 09:12, Philipp Meier wrote:
Hello,
does DBI support getting the column types for row? I digged the source
and found that DBD::Mysql does something on it but I don’t know, how get
actually use it.
Thanks,
-billy.