Home : Products : Gossamer Links : Discussions :

Products: Gossamer Links: Discussions: Re: [el noe] performance difference do_query prepare + execute: Edit Log

Here is the list of edits for this post
Re: [el noe] performance difference do_query prepare + execute
... where the second is:

Code:
sub {
my $brand_id = shift;
my $query = q|SELECT
Contact_Email
FROM glinks_Links
WHERE
BrandID = | . $brand_id . q| LIMIT 0,1|;
return $DB->table('Links')->do_query($query)->fetchrow_hashref || undef;
}
forgot to remove the placeholder and fetchrow_hashref Angelic

Last edited by:

el noe: May 6, 2021, 3:38 AM

Edit Log: