develooper Front page | perl.dbi.dev | Postings from January 2019

bind_value inconsistency

From:
Jesse G. Riddle
Date:
January 25, 2019 05:52
Subject:
bind_value inconsistency
Message ID:
CY4PR17MB14471A63D4FB32CA2CB5A936DD9A0@CY4PR17MB1447.namprd17.prod.outlook.com
Hello,

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




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About