{#await import('$lib/components/Editor.svelte')} {:then Module} code, (v) => ((code = v), onCodeChange?.(v))} scriptLang="mysql" sqlSchema={schema} class="w-full h-full" cmdEnterAction={run} /> {/await} {#if historyOpen}
Run history
{ const data = e.detail as (typeof runHistory)[number] editor?.setCode(data.code) onData(data.result, data.code) }} />
{:else}
{/if}
{#if datatableName && ws} {/if}