This commit is contained in:
seb
2026-07-31 16:13:31 +02:00
parent f9dec6d51a
commit 14297a1568
4 changed files with 89 additions and 6 deletions

View File

@@ -2,6 +2,8 @@
MSSQL schema + domain API for Dash. One class, methods mirror the file path under `src/store/`.
**`mssql` is a peer dependency** — the host app (e.g. dashback) owns `ConnectionPool` and `import sql from 'mssql'`. libdashstore store code uses only the passed `pool` (no own `mssql` install at runtime). Scripts here (`init-schema`, `test-api`, …) use `mssql` from `devDependencies`.
```js
import sql from 'mssql';
import LibDashStore from 'libdashstore';