Open
Description
- Describe your new request in detail
Currently fetchTypeHandler
receives the metadata of a single column in its only parameter. One of the possibilities offered by this plugin is changing the name of a column (field in the result object). Ex.:
fetchTypeHandler: (columnMetaData) => {
columnMetaData = columnMetaData.toLowerCase();
}
To perform this safely it would be useful to have knowledge of all the result columns. Ex.
fetchTypeHandler: (columnMetaData, rowsetMetaData) => {
const newName = columnMetaData.toLowerCase();
if (rowsetMetaData.every(({name}) => name !== newName)) {
columnMetaData = newName;
}
}
I would like to propose adding a second argument to handler.
- Give supporting information about tools and operating systems. Give relevant product version numbers
6.8.0