Closed priv2024 closed 1 month ago
SQLx currently supports it
Could you share the part of sqlx
's docs that detail this support?
In SqliteConnectionOptions
:
https://docs.rs/sqlx/latest/sqlx/sqlite/struct.SqliteConnectOptions.html#method.extension
What's missing?
I would like to load custom extensions to an SQLite database (such as fuzzy or vsv).
SQLx currently supports it, but I could not find a way to achieve that in the framework
Ideal Solution
In the
init
function as follow:Why can't this be implemented outside of Rocket?
SQLx initialization, pool and connection is managed by Rocket itself, for which we do not have a way to configure the behavior.
Are there workarounds usable today?
I am looking for one.
Alternative Solutions
No response
Additional Context
No response
System Checks