mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 06:46:00 +00:00
mongo query splitter, copy as mongo insert
This commit is contained in:
@@ -55,6 +55,7 @@
|
||||
import { registerMenu } from '../utility/contextMenu';
|
||||
import EditJsonModal from '../modals/EditJsonModal.svelte';
|
||||
import ChangeSetGrider from '../datagrid/ChangeSetGrider';
|
||||
import { setContext } from 'svelte';
|
||||
|
||||
export let tabid;
|
||||
export let conid;
|
||||
@@ -89,7 +90,8 @@
|
||||
config.update,
|
||||
$cache,
|
||||
cache.update,
|
||||
loadedRows
|
||||
loadedRows,
|
||||
$changeSetStore?.value
|
||||
)
|
||||
: null;
|
||||
// $: console.log('LOADED ROWS MONGO', loadedRows);
|
||||
@@ -145,6 +147,9 @@
|
||||
}
|
||||
|
||||
registerMenu({ command: 'collectionTable.save', tag: 'save' }, { command: 'collectionTable.newJson', tag: 'edit' });
|
||||
|
||||
const collapsedLeftColumnStore = writable(false);
|
||||
setContext('collapsedLeftColumnStore', collapsedLeftColumnStore);
|
||||
</script>
|
||||
|
||||
<DataGrid
|
||||
|
||||
Reference in New Issue
Block a user