Row update return:true responds with rows list, matching insert/upsert

Row update previously returned a singular "row" object where insert and
upsert return a "rows" list. All write endpoints now use "rows".

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GrHZSypDfMnym1tM5XJAFZ
This commit is contained in:
Claude 2026-07-04 16:03:05 +00:00
commit b09dceea88
No known key found for this signature in database
7 changed files with 40 additions and 13 deletions

View file

@ -1629,7 +1629,7 @@ async def test_row_update_sets_message():
json={"update": {"name": long_name}, "return": True},
)
assert response.status_code == 200
assert response.json()["row"]["name"] == long_name
assert response.json()["rows"][0]["name"] == long_name
assert ds.unsign(response.cookies["ds_messages"], "messages") == [
["Updated row 1 ({})".format(truncated_name), ds.INFO]
]