Commit Graph
8 Commits
Author SHA1 Message Date
tbenandClaude Opus 5.5 ddf431e866 Add tests, schema sync safeguards, and query/handler improvements
- Add bun test suite: SQL generator and value unit tests, plus MariaDB
  integration tests gated on BUN_MARIADB_TEST_DB
- schema: add --dry-run and require confirmation (or --yes) before
  dropping tables/columns; block unapproved destructive statements
- Always AND targetId with the query, regardless of searchOperator
- Initialize lazily on first call; init throws instead of exiting
- Generate IN (?, ?, ...) lists for IN / NOT IN
- Share value binding between insert and update (booleans, embeddings,
  function values, "" -> NULL for non-text columns)
- Keep Buffers and convert BigInt/Date without a JSON round-trip
- DbSQL: report success for empty SELECT results
- Run update() in a transaction with row locking
- Key the client cache on the full connection config
- Consolidate identifier quoting, drop dead code, merge column lookup
- Read CLI version from package.json, pin @types/bun, chmod CLI on compile
- Rebuild dist

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-14 02:27:59 +01:00
tben 2ddf450b9f Updates 2026-09-08 07:24:00 +01:00
tben d4097a5e5d Bugfix: zero number values return null 2026-08-14 11:02:49 +01:00
tben 9357cd404a Update type definitions #2 2026-08-01 09:52:35 +01:00
tben 0420d50f15 Updates 2026-07-30 07:19:07 +01:00
tben 3bbf00cdb0 Update .gitignore, add dist directory 2026-07-20 21:43:05 +01:00
tben 44f6c18a84 Refactor DB Handler. Use Bun native SQL adapter. 2026-06-24 15:52:19 +01:00
tben 9c8f6e20aa First Commit. Based off bun-sqlite 2026-06-21 06:18:34 +01:00