@kuratchi/db-studio
v0.0.1
Published
KuratchiJS database studio — shared SQL browser component for D1 and SQLite databases
Readme
@kuratchi/db-studio
Reusable SQL browser component for D1/SQLite-backed admin tools.
Install
npm install @kuratchi/db-studioUsage
<script>
import DbStudio from '@kuratchi/db-studio/src/lib/db-studio.html';
</script>Component Props
tables,activeTable,rows,columns,schematotalRows,page,totalPagessqlQuery,sqlResult,dbErrorbaseHref- action targets:
runQueryAction,insertRowAction,updateRowAction,deleteRowAction
Notes
- Composes
@kuratchi/uicomponents for layout and feedback. - Ships as
.htmlsource for direct framework compilation.
