Gossamer Forum
Quote Reply
GT::SQL
Could I suggest a little alteration to GT::SQL.

Currently with the select_options method, if you happen to pass in an ORDER clause after a LIMIT clause the query will fail as it expects the LIMIT last. Would it be possible to get GT::SQL to automatically handle this?

eg...

my $table = $DB->table('Links');

# Works
$table->select_option("ORDER BY ID ASC", "LIMIT 20");

# Fails
$table->select_option("LIMIT 20", "ORDER BY ID ASC");

Last edited by:

Paul: Mar 30, 2003, 8:08 AM
Subject Author Views Date
Thread GT::SQL Paul 8807 Mar 30, 2003, 8:08 AM
Thread Re: [Paul] GT::SQL
fuzzy logic 8643 Mar 30, 2003, 7:34 PM
Thread Re: [fuzzy thoughts] GT::SQL
Paul 8637 Mar 31, 2003, 12:47 AM
Post Re: [Paul] GT::SQL
Andy 8577 Mar 31, 2003, 1:04 AM
Thread Re: [Paul] GT::SQL
Paul 8580 Apr 1, 2003, 12:57 PM
Thread Re: [Paul] GT::SQL
Alex 8441 Apr 4, 2003, 9:54 AM
Thread Re: [Alex] GT::SQL
Paul 8474 Apr 4, 2003, 9:58 AM
Post Re: [Paul] GT::SQL
Paul 8310 Apr 9, 2003, 12:24 PM
Thread Re: [Alex] GT::SQL
Andy 8411 Apr 5, 2003, 2:53 AM
Post Re: [Andy] GT::SQL
Paul 8403 Apr 5, 2003, 2:59 AM
Post Re: [Andy] GT::SQL
Jagerman 8372 Apr 5, 2003, 4:05 PM
Post Re: [Alex] GT::SQL
dregs2 8370 Apr 7, 2003, 1:07 PM
Post Re: [Paul] GT::SQL
Paul 8506 Apr 3, 2003, 11:43 AM