Skip to content

Commit

Permalink
Remove quotes around table name (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkfreeman authored Nov 13, 2024
1 parent 000afe2 commit b98b2ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export function getUnpivotQuery(
// created through multiple y columns
return `${createStatment} ${selectStr}, ${rStr}${textStr}${fyStr} key AS series${
fx && !x ? ", key AS x" : ""
} FROM "${tableName}"
} FROM ${tableName}
UNPIVOT (value FOR key IN (${keysStr}));`;
}

Expand Down

0 comments on commit b98b2ee

Please sign in to comment.