Closed andyl closed 5 months ago
Yes using the Connection
configuration you can:
config :exqlite, load_extensions: [ "./priv/sqlite/\#{arch_dir}/rotate" ]
Here is a ton of information about the configurations that can be passed to exqlite. Sorry that the information is buried in there. https://hexdocs.pm/exqlite/Exqlite.Connection.html#connect/1
Just be aware, when you load extensions that they need to be compiled for that machine and must be compatible with the sqlite version.
Thanks very much! Would you like a PR for a small update to README with this docco?
@andyl definitely, an example section in the README would be fine.
Done.
Exqlite.Basic
has functionsenable_load_extension
andload_extension
.Exqlite.Sqlite3
only has functionenable_load_extension
.Is it possible to load extensions with
Sqlite3
??