Gossamer Forum
Home : Gossamer Threads Inc. : Discussion :

Question about GT::SQL::Table

Quote Reply
Question about GT::SQL::Table
Hi,

The following lines in the documentation of GT::SQL::Table->select() is not true for related tables.
Code:
Nothing in the select will be quoted, so to use functions, simply pass in what you want:
my $sth = $obj->select ( [ 'COUNT(*)' ] );
which turns into ``SELECT COUNT(*) FROM Table''.

Can that be fixed?

Thanks, Jasper

http://www.bookings.org
Subject Author Views Date
Thread Question about GT::SQL::Table jaspercram 5467 Dec 18, 2002, 7:07 AM
Thread Re: [jaspercram] Question about GT::SQL::Table
Paul 5318 Dec 18, 2002, 7:28 AM
Thread Re: [Paul] Question about GT::SQL::Table
jaspercram 5321 Dec 18, 2002, 7:48 AM
Thread Re: [jaspercram] Question about GT::SQL::Table
Paul 5319 Dec 18, 2002, 7:51 AM
Thread Re: [Paul] Question about GT::SQL::Table
jaspercram 5311 Dec 18, 2002, 7:57 AM
Thread Re: [jaspercram] Question about GT::SQL::Table
Paul 5310 Dec 18, 2002, 8:00 AM
Thread Re: [Paul] Question about GT::SQL::Table
jaspercram 5306 Dec 18, 2002, 8:09 AM
Post Re: [jaspercram] Question about GT::SQL::Table
Paul 5291 Dec 18, 2002, 8:14 AM
Post Re: [jaspercram] Question about GT::SQL::Table
Alex 5276 Dec 18, 2002, 10:48 AM