Repository navigation
v1.1.0-beta.1
Pre-release
Pre-release
What's Changed
Bug Fixes — GridDB Cloud DML Operations
delete()andupdate()with WHERE clause now work correctly on GridDB Cloud- Added
executeDml()method usingtype: 'sql-update'via/sql/updateendpoint (GridDB Cloud requires this for INSERT/UPDATE/DELETE — the previoustype: 'sql-select'via/sql/dml/querywas rejected) truncate()now uses the correct DML endpoint- Stripped
undefined/emptybindingsfrom query payloads (GridDB Cloud rejects them with"Mapping JSON data error")
New Method
executeDml(stmt, bindings?)— Execute raw SQL DML statements (INSERT, UPDATE, DELETE) via the correct endpoint
Type Changes
GridDBQuery.typenow supports'sql-select' | 'sql-update' | 'tql'
Documentation
- Added API overview table with all 18 methods
- Added GridDB Cloud section (endpoint separation, config example, IP allowlist tip)
- Documented
executeDml()andtruncate() - Fixed
delete()/update()examples to use inline WHERE values
Verification
- ✅ All 175 tests passed (7 test files)
- ✅ Build (
tsc) successful - ✅ Tested against live GridDB Cloud instance
Installation
npm install @junwatu/griddb-client@1.1.0-beta.1