View Source EdgeDB driver for Elixir
edgedb-elixir
is the EdgeDB driver for Elixir.
Installation
edgedb-elixir
is available in hex.pm
and can be installed via mix
.
Just add :edgedb
to your dependencies in the mix.exs
file:
{:edgedb, "~> 0.1"}
JSON support
EdgeDB
comes with JSON support out of the box via the Jason
library.
To use it, add :jason
to your dependencies in the mix.exs
file:
{:jason, "~> 1.0"}
The JSON library can be configured using the :json
option in the :edgedb
application configuration:
config :edgedb,
json: CustomJSONLibrary
The JSON library is injected in the compiled EdgeDB
code, so be sure to recompile EdgeDB
if you change it:
mix deps.clean edgedb --build
License
This project is licensed under the terms of the MIT license. See LICENSE for details.