-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add getter functions for SqliteConnectOptions #4208
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I have found these related issues/pull requests
N/A
Description
SqliteConnectOptions has many pub(crate) fields with no corresponding public getter methods. Currently only get_filename() and get_vfs() exist, making it impossible for downstream consumers to inspect connection options after construction (e.g. when parsing from a URL string).
This is particularly problematic for in_memory — there's no way to determine if a SqliteConnectOptions represents an in-memory database without resorting to fragile filename heuristics.
Prefered solution
Make getter functions for each relevant field
Is this a breaking change? Why or why not?
No just add read only functions
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request