Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add numAffectedRows @ D1Connection.executeQuery. #14

Merged

Conversation

igalklebanov
Copy link
Contributor

@igalklebanov igalklebanov commented Dec 10, 2022

  • I have verified my changes didn't break the example project.

Wrangler's inspector port is blocked on my wsl2 machine. 🤷

Description

aligns with kysely-org/kysely#188 (not released yet)

QueryResult.numUpdatedOrDeletedRows is being deprecated in next kysely release, and will be removed in the future. It is being replaced with QueryResult.numAffectedRows for reasons discussed in linked pull request.

@igalklebanov igalklebanov marked this pull request as ready for review December 10, 2022 17:15
src/index.ts Outdated Show resolved Hide resolved
Copy link
Owner

@aidenwallis aidenwallis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, thank you for the contribution!

src/index.ts Show resolved Hide resolved
@aidenwallis aidenwallis merged commit dce5e8f into aidenwallis:main Jan 13, 2023
@aidenwallis
Copy link
Owner

Heads up, released your change in 0.1.0, thanks again for contributing!

adam-the pushed a commit to adam-the/kysely-d1 that referenced this pull request Aug 20, 2023
* add `numAffectedRows` @ `D1Connection.executeQuery`.

* bump kysely to 0.23.x.
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