This commit is contained in:
Jan Prochazka 2021-12-02 10:07:47 +01:00
parent c31dd3ced9
commit 4751e4930e
2 changed files with 7 additions and 3 deletions

View File

@ -192,7 +192,7 @@ export const copyRowsFormatDefs = {
},
mongoInsert: {
label: 'Copy as Mongo INSERTs',
name: 'Mongo UPDATEs',
name: 'Mongo INSERTs',
formatter: clipboardMongoInsertFormatter(),
},
};

View File

@ -135,12 +135,16 @@ const driver = {
});
try {
options.info({
message: JSON.stringify(resValue),
message: `Result: ${JSON.stringify(resValue)}`,
time: new Date(),
severity: 'info',
});
} catch (err) {
console.log('Result cannot be stringified');
options.info({
message: `Result: ${resValue}`,
time: new Date(),
severity: 'info',
});
}
const arrayRes = findArrayResult(resValue);