Repository navigation
v1.3.1 — row update/replace/delete
PAY-1975 (Vasanth's hackathon, Jon, today): v1.3.0 shipped insert but no way to update or delete a row. The server always supported it (measured live on the dev-93 twin, client 45: PATCH/DELETE on /v1/collections/{c}/tables/{t}/{id} → 200/204 with correct read-back). The CLI just never carried the commands forward from the old ADO vsql-cli 1.1.1.
Added
vsql update <collection> <table> <id> --data '{...}'— merge-update a document (PATCH).vsql replace <collection> <table> <id> --data '{...}'— whole-document replace (PUT).vsql delete <collection> <table> <id>— delete a document (DELETE). Prompts for confirmation on a TTY;--yesskips it; a non-TTY call without--yesrefuses outright rather than deleting silently or hanging on a prompt nothing can answer.data update|replace|deletekept as aliases, matching the 1.1.1 spelling.- All three work with a KeelBase secret (key-signing), the same as
insert. --datais validated locally as a JSON object before any request is sent (INVALID_JSON, never sent half-parsed).
Full details: CHANGELOG.md
Verification: 35/35 tests pass (25 existing unchanged + 10 new), tsc clean, QAPert G4 PASS, and a live proof against the dev-93 twin by rigpert (insert → update → replace → delete → 404, plus the delete-confirmation guard and the bad-JSON refusal, all independently read back).