[DBIx-Class-Devel] [dbsrgits/sql-abstract] Add overloadable _select_field_values method (#13)
Sebastian Riedel
notifications at github.com
Sun Jan 28 14:18:57 GMT 2018
kraih commented on this pull request.
> @@ -466,15 +466,21 @@ sub select {
my($where_sql, @bind) = $self->where($where, $order);
- my $f = (ref $fields eq 'ARRAY') ? join ', ', map { $self->_quote($_) } @$fields
- : $fields;
- my $sql = join(' ', $self->_sqlcase('select'), $f,
+ my ($fields_sql, @fields_bind) = $self->_select_field_values($fields);
+ push @bind, @fields_bind;
Oh, of course.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/sql-abstract/pull/13#discussion_r164300685
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20180128/494e0a9a/attachment.htm>
More information about the DBIx-Class-Devel
mailing list