Hi,
The following lines in the documentation of GT::SQL::Table->select() is not true for related tables.
my $sth = $obj->select ( [ 'COUNT(*)' ] );
which turns into ``SELECT COUNT(*) FROM Table''.
Can that be fixed?
Thanks, Jasper
http://www.bookings.org
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