DBI::Row.column_names & case

L

ledestin

Hello,

There is difference in Oracle and Posgtres in the case of
column_names values. Column names are uppercase in Oracle and lowercase
in Postgres. It is not a good thing that I (a next level food chain
developer) have to think about the case when accessing columns. It
should be either standartized on low/upper case or transparently
compared with the values of COL_NAME as in row['COL_NAME'], IMHO.

PS. as an Oracle ruby dbi library I use oci8.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top