The Wayback Machine - https://web.archive.org/web/20230108052503/https://github.com/nsidnev/edgedb-elixir
Skip to content

nsidnev/edgedb-elixir

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Elixir client for EdgeDB

Documentation: https://hexdocs.pm/edgedb

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]

TODO:

  1. Query builder with schema reflection (long term)