Skip to content

Fix Connection::changes() for remote queries#2044

Merged
penberg merged 2 commits intotursodatabase:mainfrom
levydsa:affected-rows-query
May 6, 2025
Merged

Fix Connection::changes() for remote queries#2044
penberg merged 2 commits intotursodatabase:mainfrom
levydsa:affected-rows-query

Conversation

@levydsa
Copy link
Copy Markdown
Contributor

@levydsa levydsa commented Apr 25, 2025

This implementation is very much not ideal and should be reworked.

Its exposing the Inne type and inner parameter of HranaStream. I can't think of a way to structure the code in a better way, but later we could extend the protocol to include the changes made by the query as a initial response, preventing having to hold a reference the the stream all together.

@levydsa levydsa requested a review from penberg May 5, 2025 18:30
@penberg penberg changed the title Store affected rows for HranaRows Fix Connection::changes() for remote queries May 6, 2025
@penberg penberg added this pull request to the merge queue May 6, 2025
Merged via the queue into tursodatabase:main with commit cdf9060 May 6, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants