/edgedb-elixir

Elixir client for EdgeDB

Primary LanguageElixirApache License 2.0Apache-2.0

Elixir client for EdgeDB

Client documentation is available on edgedb.com and on hex.pm.

How to use:

iex(1)> {:ok, client} = EdgeDB.start_link() # NOTE: you should initialize EdgeDB project first
iex(2)> arg = [16, 13, 2, 42]
iex(3)> ^arg = EdgeDB.query_required_single!(client, "select <array<int64>>$arg", arg: arg)
[16, 13, 2, 42]