mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
fix
This commit is contained in:
parent
c31dd3ced9
commit
4751e4930e
@ -192,7 +192,7 @@ export const copyRowsFormatDefs = {
|
||||
},
|
||||
mongoInsert: {
|
||||
label: 'Copy as Mongo INSERTs',
|
||||
name: 'Mongo UPDATEs',
|
||||
name: 'Mongo INSERTs',
|
||||
formatter: clipboardMongoInsertFormatter(),
|
||||
},
|
||||
};
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user