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 12269 Aug 29, 2002, 4:16 PM
Thread; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
Paul 11536 Aug 30, 2002, 2:24 AM
Thread; hot thread Re: [Paul] $links_db->type->{"Add_Date"} reports field type incorrectly
webmaster33 11569 Aug 30, 2002, 2:56 AM
Thread; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
Paul 11511 Aug 30, 2002, 4:01 AM
Thread; hot thread Re: [Paul] $links_db->type->{"Add_Date"} reports field type incorrectly
webmaster33 11539 Aug 30, 2002, 4:06 AM
Post; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
yogi 11580 Aug 30, 2002, 4:09 AM
Thread; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
Paul 11541 Aug 30, 2002, 4:13 AM
Thread; hot thread Re: [Paul] $links_db->type->{"Add_Date"} reports field type incorrectly
webmaster33 11575 Aug 30, 2002, 4:32 AM
Post; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
Paul 11516 Aug 30, 2002, 4:33 AM
Thread; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
yogi 11510 Aug 30, 2002, 4:34 AM
Post; hot thread Re: [yogi] $links_db->type->{"Add_Date"} reports field type incorrectly
webmaster33 11502 Aug 30, 2002, 4:38 AM
Thread; hot thread Re: [yogi] $links_db->type->{"Add_Date"} reports field type incorrectly
webmaster33 11490 Aug 30, 2002, 5:14 AM
Thread; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
yogi 11505 Aug 30, 2002, 5:20 AM
Thread; hot thread Re: [yogi] $links_db->type->{"Add_Date"} reports field type incorrectly
webmaster33 11471 Aug 30, 2002, 5:23 AM
Thread; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
yogi 11491 Aug 30, 2002, 5:25 AM
Thread; hot thread Re: [yogi] $links_db->type->{"Add_Date"} reports field type incorrectly
webmaster33 11572 Aug 30, 2002, 5:27 AM
Thread; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
yogi 11498 Aug 30, 2002, 5:32 AM
Post; hot thread Re: [yogi] $links_db->type->{"Add_Date"} reports field type incorrectly
webmaster33 11524 Aug 30, 2002, 6:09 AM
Thread; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
yogi 11587 Aug 30, 2002, 3:47 AM
Thread; hot thread Re: [yogi] $links_db->type->{"Add_Date"} reports field type incorrectly
webmaster33 11525 Aug 30, 2002, 4:11 AM
Post; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
yogi 11529 Aug 30, 2002, 4:13 AM
Thread; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
Paul 11479 Aug 30, 2002, 4:19 AM
Thread; hot thread Re: [Paul] $links_db->type->{"Add_Date"} reports field type incorrectly
webmaster33 11516 Aug 30, 2002, 4:24 AM
Post; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
Paul 11458 Aug 30, 2002, 4:26 AM
Thread; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
Alex 11506 Sep 5, 2002, 1:57 PM
Thread; hot thread Re: [Alex] $links_db->type->{"Add_Date"} reports field type incorrectly
webmaster33 2636 Sep 6, 2002, 1:42 AM
Thread; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
Alex 2660 Sep 6, 2002, 10:51 AM
Thread; hot thread Re: [Alex] $links_db->type->{"Add_Date"} reports field type incorrectly
webmaster33 2539 Sep 6, 2002, 11:08 AM
Post; hot thread Re: [webmaster33] $links_db->type->{"Add_Date"} reports field type incorrectly
Paul 2545 Sep 6, 2002, 11:10 AM