2022-02-02 04:05:31 +00:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
schemaCol: 'db',
|
2022-02-07 14:43:12 +00:00
|
|
|
nameCol: 'name',
|
|
|
|
escapeCols: [
|
|
|
|
'comment'
|
|
|
|
],
|
|
|
|
formatter(params) {
|
|
|
|
let dataAccess;
|
|
|
|
switch(params.dataAccess) {
|
|
|
|
case 'NO_SQL':
|
|
|
|
dataAccess = 'NO SQL';
|
|
|
|
break;
|
|
|
|
case 'READS_SQL_DATA':
|
|
|
|
dataAccess = 'READS SQL DATA';
|
|
|
|
break;
|
|
|
|
case 'MODIFIES_SQL_DATA':
|
|
|
|
dataAccess = 'MODIFIES SQL DATA';
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
params.dataAccess = dataAccess;
|
|
|
|
}
|
2022-02-02 04:05:31 +00:00
|
|
|
};
|