Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

$links_db->type->{"Add_Date"} reports field type incorrectly

Quote Reply
$links_db->type->{"Add_Date"} reports field type incorrectly
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. Frown
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...
Subject Author Views Date
Thread; hot thread $links_db->type->{"Add_Date"} reports field type incorrectly webmaster33 12141 Aug 29, 2002, 4:16 PM
Thread; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
Paul 11411 Aug 30, 2002, 2:24 AM
Thread; hot thread Re: [Paul] $links_db->type->{"Add_Date"} reports field type incorrectly
webmaster33 11444 Aug 30, 2002, 2:56 AM
Thread; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
Paul 11385 Aug 30, 2002, 4:01 AM
Thread; hot thread Re: [Paul] $links_db->type->{"Add_Date"} reports field type incorrectly
webmaster33 11414 Aug 30, 2002, 4:06 AM
Post; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
yogi 11455 Aug 30, 2002, 4:09 AM
Thread; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
Paul 11415 Aug 30, 2002, 4:13 AM
Thread; hot thread Re: [Paul] $links_db->type->{"Add_Date"} reports field type incorrectly
webmaster33 11450 Aug 30, 2002, 4:32 AM
Post; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
Paul 11391 Aug 30, 2002, 4:33 AM
Thread; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
yogi 11385 Aug 30, 2002, 4:34 AM
Post; hot thread Re: [yogi] $links_db->type->{"Add_Date"} reports field type incorrectly
webmaster33 11377 Aug 30, 2002, 4:38 AM
Thread; hot thread Re: [yogi] $links_db->type->{"Add_Date"} reports field type incorrectly
webmaster33 11365 Aug 30, 2002, 5:14 AM
Thread; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
yogi 11380 Aug 30, 2002, 5:20 AM
Thread; hot thread Re: [yogi] $links_db->type->{"Add_Date"} reports field type incorrectly
webmaster33 11346 Aug 30, 2002, 5:23 AM
Thread; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
yogi 11366 Aug 30, 2002, 5:25 AM
Thread; hot thread Re: [yogi] $links_db->type->{"Add_Date"} reports field type incorrectly
webmaster33 11446 Aug 30, 2002, 5:27 AM
Thread; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
yogi 11372 Aug 30, 2002, 5:32 AM
Post; hot thread Re: [yogi] $links_db->type->{"Add_Date"} reports field type incorrectly
webmaster33 11399 Aug 30, 2002, 6:09 AM
Thread; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
yogi 11462 Aug 30, 2002, 3:47 AM
Thread; hot thread Re: [yogi] $links_db->type->{"Add_Date"} reports field type incorrectly
webmaster33 11400 Aug 30, 2002, 4:11 AM
Post; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
yogi 11404 Aug 30, 2002, 4:13 AM
Thread; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
Paul 11354 Aug 30, 2002, 4:19 AM
Thread; hot thread Re: [Paul] $links_db->type->{"Add_Date"} reports field type incorrectly
webmaster33 11391 Aug 30, 2002, 4:24 AM
Post; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
Paul 11332 Aug 30, 2002, 4:26 AM
Thread; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
Alex 11381 Sep 5, 2002, 1:57 PM
Thread; hot thread Re: [Alex] $links_db->type->{"Add_Date"} reports field type incorrectly
webmaster33 2608 Sep 6, 2002, 1:42 AM
Thread; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
Alex 2631 Sep 6, 2002, 10:51 AM
Thread; hot thread Re: [Alex] $links_db->type->{"Add_Date"} reports field type incorrectly
webmaster33 2510 Sep 6, 2002, 11:08 AM
Post; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
Paul 2517 Sep 6, 2002, 11:10 AM