Skip to content

Rust: Add initial RuSQLite support #18577

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

Merged
merged 7 commits into from
Feb 12, 2025
Merged

Conversation

GeekMasher
Copy link
Member

@GeekMasher GeekMasher commented Jan 23, 2025

This PR adds support for RuSQLite driver support.

Waiting for another PR to be merged

@Copilot Copilot AI review requested due to automatic review settings January 23, 2025 13:19
@github-actions github-actions bot added the Rust Pull requests that update Rust code label Jan 23, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Tip: Leave feedback on Copilot's review comments with the 👎 and 👍 buttons to help improve review quality. Learn more

GeekMasher and others added 2 commits January 23, 2025 13:32
@GeekMasher GeekMasher changed the title feat(rust:) Add initial RuSQLite support Rust: Add initial RuSQLite support Jan 24, 2025
Copy link
Contributor

@paldepind paldepind left a comment

Choose a reason for hiding this comment

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

Looks good to me. But it would probably also be a good idea to hear what @geoffw0 thinks.

Copy link
Contributor

@geoffw0 geoffw0 left a comment

Choose a reason for hiding this comment

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

LGTM.

- ["repo:https://github.com/rusqlite/rusqlite:rusqlite", "<crate::row::Row>::get", "ReturnValue.Variant[crate::result::Result::Ok(0)]", "database", "manual"]
- ["repo:https://github.com/rusqlite/rusqlite:rusqlite", "<crate::row::Row>::get_unwrap", "ReturnValue", "database", "manual"]
- ["repo:https://github.com/rusqlite/rusqlite:rusqlite", "<crate::row::Row>::get_ref", "ReturnValue.Variant[crate::result::Result::Ok(0)]", "database", "manual"]
- ["repo:https://github.com/rusqlite/rusqlite:rusqlite", "<crate::row::Row>::get_ref_unwrap", "ReturnValue", "database", "manual"]
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we'd be better off using remote rather than database here, if the database is reasonably likely to be remote. See also #18752 . I guess we can merge this now and I'll make the change there if there's agreement. I welcome your thoughts on this.

@geoffw0
Copy link
Contributor

geoffw0 commented Feb 12, 2025

I'm starting a DCA run, if when that finishes it looks OK I'll hit merge.

@geoffw0 geoffw0 merged commit e07b25c into github:main Feb 12, 2025
15 checks passed
@geoffw0
Copy link
Contributor

geoffw0 commented Feb 12, 2025

Merged, thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants