Hallo everbody,
i want to create a Global with a big parameter and want to use it in many other globals. Is it possible and how is the syntax to call the global with the parameters
sample:
my $count = $DB->table('CatLinks','Links')->count( GT::SQL::Condition->new( statistik => '=' => '1', Status => 'IN' => ['200','201','202','203'],CategoryID => 'IN' => $id$) );
I want to fill the ['200','201','202','203'], in an global
my $count = $DB->table('CatLinks','Links')->count( GT::SQL::Condition->new( statistik => '=' => '1', Status => 'IN' => [globalname],CategoryID => 'IN' => $id$) );
Best thanks for help
Jupp
i want to create a Global with a big parameter and want to use it in many other globals. Is it possible and how is the syntax to call the global with the parameters
sample:
my $count = $DB->table('CatLinks','Links')->count( GT::SQL::Condition->new( statistik => '=' => '1', Status => 'IN' => ['200','201','202','203'],CategoryID => 'IN' => $id$) );
I want to fill the ['200','201','202','203'], in an global
my $count = $DB->table('CatLinks','Links')->count( GT::SQL::Condition->new( statistik => '=' => '1', Status => 'IN' => [globalname],CategoryID => 'IN' => $id$) );
Best thanks for help
Jupp