Browse Source

fix(sql-client): view list method correction

feat/oracle-support
Pranav C 2 years ago committed by Pranav C
parent
commit
2992079cee
  1. 2
      packages/nocodb/src/lib/db/sql-client/lib/oracle/OracleClient.ts

2
packages/nocodb/src/lib/db/sql-client/lib/oracle/OracleClient.ts

@ -997,7 +997,7 @@ class OracleClient extends KnexClient {
for (let i = 0; i < response.length; i++) {
let el = response[i];
el = mapKeys(el, (_v, k) => k.toLowerCase());
el.view_name = el.object_name;
el.view_name = el.view_name || el.object_name;
response[i] = el;
}

Loading…
Cancel
Save