From: Olaf Alders Date: Wed, 6 Feb 2013 20:34:35 +0000 (-0500) Subject: Normalize the select docs s/$table/$source/ X-Git-Tag: v1.74~13 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=521647e7e01af89d2deda6724bd76cb399c0bfff;p=dbsrgits%2FSQL-Abstract.git Normalize the select docs s/$table/$source/ --- diff --git a/lib/SQL/Abstract.pm b/lib/SQL/Abstract.pm index 9b29b5e..f33e75f 100644 --- a/lib/SQL/Abstract.pm +++ b/lib/SQL/Abstract.pm @@ -1520,7 +1520,7 @@ SQL::Abstract - Generate SQL from Perl data structures my $sql = SQL::Abstract->new; - my($stmt, @bind) = $sql->select($table, \@fields, \%where, \@order); + my($stmt, @bind) = $sql->select($source, \@fields, \%where, \@order); my($stmt, @bind) = $sql->insert($table, \%fieldvals || \@values); @@ -1948,8 +1948,8 @@ the source. The argument can be either an arrayref (interpreted as a list of field names, will be joined by commas and quoted), or a plain scalar (literal SQL, not quoted). -Please observe that this API is not as flexible as for -the first argument C<$table>, for backwards compatibility reasons. +Please observe that this API is not as flexible as that of +the first argument C<$source>, for backwards compatibility reasons. =item $where