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

Products: Gossamer Links: Development, Plugins and Globals: Re: [yogi] Can you use an UPDATE in a global?: Edit Log

Here is the list of edits for this post
Re: [yogi] Can you use an UPDATE in a global?
I must be going blingd. I thought I went through all of the sections for GT::SQL. Sorry about that Blush

I'm now using the correct format, but it still won't like working. I've got;

# update the new tables in MySQL...
my $creator = $DB->editor('Links');
$creator->cols (
impressions => {
type => 'INT',
not_null => 1,
regex => '^\d'

$creator->create or die "Unable to create: $GT::SQL::error";

Can you see anything obviouse there that isn't right? The error I get is;

Error running installation code: GT::SQL::Editor (1601833): Unknown method 'cols' called at (eval 6) line 122.


Andy (mod)
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!

Last edited by:

Andy.: Apr 30, 2002, 12:17 AM

Edit Log: