ruby-oci8 icon indicating copy to clipboard operation
ruby-oci8 copied to clipboard

bind_param: when value is nil, use String as default type

Open lionelperrin opened this issue 11 years ago • 0 comments

Looking at DBD code, I've seen that when bind values are null, they are mapped using String as default type. I don't know the drawback of this approach (reliability? performances?) but it is really convenient in many cases.

Why shouldn't we use String as default type when the value is nil and no type info is provided ?

lionelperrin avatar Aug 04 '14 09:08 lionelperrin