The $links_db->type->{"Add_Date"} (basically the type() method) reports field type incorrectly right from the def file, and not from the SQL table itself.
DATETIME type does not exists in LSQL so, I had to change the field type of Add_Date manually in database from DATE to DATETIME.
The only solution would be to use the DBI object, what GT::SQL uses internally, but it can not accessed outside from GT::SQL.
I do not want to open a new db connection just to query a field type.
Anybody knows about an internal solution using GT::SQL?
Any ideas?
Best regards,
Webmaster33
Paid Support from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
DATETIME type does not exists in LSQL so, I had to change the field type of Add_Date manually in database from DATE to DATETIME.
The only solution would be to use the DBI object, what GT::SQL uses internally, but it can not accessed outside from GT::SQL.

I do not want to open a new db connection just to query a field type.
Anybody knows about an internal solution using GT::SQL?
Any ideas?
Best regards,
Webmaster33
Paid Support from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...