We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 395a0ba commit 8c2e5d5Copy full SHA for 8c2e5d5
src/drivers/utlis.ts
@@ -10,9 +10,13 @@ export function fieldName(
10
if (column) {
11
name = column.name;
12
}
13
- return name
14
- .toLowerCase()
15
- .replace(/([_][a-z])/g, (group) => group.toUpperCase().replace("_", ""));
+ if (name.includes('_')) {
+ return name
+ .toLowerCase()
16
+ .replace(/([_][a-z])/g, (group) => group.toUpperCase().replace("_", ""));
17
+ } else {
18
+ return name;
19
+ }
20
21
22
export function argName(index: number, column?: Column): string {
0 commit comments