Node-oracledb: Lowercase keys in results

Created on 12 Oct 2015  路  2Comments  路  Source: oracle/node-oracledb

Per the docs 3.2.7 outFormat: The property name follows Oracle's standard name-casing rules. It will commonly be uppercase, since most applications create tables using unquoted, case-insensitive names.

Is there any way to force that to lowercase, short of walking all results and re-assigning the keys?

Thanks!

question

Most helpful comment

@sanfords Just give your columns aliases wrapped in double quotes:

select actual_column_name as "whateverYouLike"
from some_table

All 2 comments

@sanfords Just give your columns aliases wrapped in double quotes:

select actual_column_name as "whateverYouLike"
from some_table

Fair 'nuf. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

satodu picture satodu  路  3Comments

xpro666 picture xpro666  路  3Comments

rheinripper picture rheinripper  路  4Comments

cristian-programmer picture cristian-programmer  路  4Comments

ChrisHAdams picture ChrisHAdams  路  3Comments