Skip to content

Commit

Permalink
Update README with Connection configuration (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
andyl authored Jan 16, 2024
1 parent 03b30d8 commit 2d0912f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,14 @@ Basic.load_extension(conn, ExSqlean.path_for("re"))
Basic.close(conn)
```
It is also possible to load extensions using the `Connection` configuration. For example:
config :exqlite, load_extensions: [ "./priv/sqlite/\#{arch_dir}/rotate" ]

This method works with `Exqlite.Sqlite3`. For more info see the (Connection.connect/1)[https://hexdocs.pm/exqlite/Exqlite.Connection.html#connect/1]
docs.


## Why SQLite3

I needed an Ecto3 adapter to store time series data for a personal project. I
Expand Down

0 comments on commit 2d0912f

Please sign in to comment.