develooper Front page | | Postings from January 2019

bind_value inconsistency

Jesse G. Riddle
January 25, 2019 05:52
bind_value inconsistency
Message ID:

I've just recently started using DBi for a project I am working on and I have concerns about the inconsistency of @bind_value between both the selectrow_* and selectall_* functions.

Each of the selectrow_* functions I can set my @bind_value as a single value in scalar context.

But each of the selectall_* functions the @bind_value cannot be anything other than an array_ref.

I would like to propose a change to allow the selectall_* functions to allow both a string in scalar context as well as the standard array_ref.

Jesse Riddle
Information Systems Coordinator
Terahash LLC
Mob: +1-253-391-8511
Twt: @darkseid4nk Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About