mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-28 21:05:59 +00:00
fix
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user