Skip to content

refactor(any): Remove lifetime parameter from AnyArguments #3958

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

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

iamjpotts
Copy link
Contributor

@iamjpotts iamjpotts commented Aug 2, 2025

Relevant commit is the last one, refactor(any): Remove lifetime parameter from AnyArguments

Builds on:

Does your PR solve an issue?

Similar to #3957, allows more flexibility with passing references as bind parameters to query! macros when using the Any driver.

Is this a breaking change?

Yes:

  • removes lifetime parameters from structs that are a part of the public api for the Any driver
  • changes enum variants for AnyValueKind

…r db platforms

Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com>
…arguments by removing lifetime parameter from SqliteArguments

Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com>

Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com>
Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com>
…ents, and SqliteArgumentsBuffer

Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com>
Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com>
Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com>
@iamjpotts iamjpotts force-pushed the jp/any-arg-lifetime branch from 3217e7e to b1320b0 Compare August 19, 2025 02:08
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.

1 participant