{ search = ''; }} /> {#each historyItems as item}
{ openNewTab( { title: 'Query #', icon: 'icon sql-file', tabComponent: 'QueryTab', focused: true, props: { conid: item.conid, database: item.database, }, }, { editor: item.sql } ); }} >
{item.sql}
{item.database}
{/each}