Skip to content

Commit ef3afa9

Browse files
authored
Update docs to include load_extensions (#141)
1 parent a54bdcb commit ef3afa9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/ecto/adapters/sqlite3.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ defmodule Ecto.Adapters.SQLite3 do
5151
* `:datetime_type` - Defaults to `:iso8601`. Determines how datetime fields are stored in the database.
5252
The allowed values are `:iso8601` and `:text_datetime`. `:iso8601` corresponds to a string of the form
5353
`YYYY-MM-DDThh:mm:ss` and `:text_datetime` corresponds to a string of the form `YYYY-MM-DD hh:mm:ss`
54+
* `:load_extensions` - list of paths identifying extensions to load. Defaults to []. The provided list will
55+
be merged with the global extensions list, set on :exqlite, :load_extensions. Be aware that the path should
56+
handle pointing to a library compiled for the current architecture. See `Exqlite.Connection.connect/1` for more.
5457
5558
For more information about the options above, see [sqlite documentation][1]
5659

0 commit comments

Comments
 (0)