Durango
Durango is a database wrapper for ArangoDB.
This is alpha software for the moment.
I will be adding more features rapidly over the next few weeks and months.
PRs with passing tests are welcome.
An ecto-like database wrapper for ArangoDB.
License: MIT License
Durango is a database wrapper for ArangoDB.
This is alpha software for the moment.
I will be adding more features rapidly over the next few weeks and months.
PRs with passing tests are welcome.
Hello @elbow-jason
We were using Xarango for some time now. However, due to recent changes in ArangoDB and Elixir the library is no more suitable for use. Would you suggest we migrate to Durango?
Most of my work is related to CRUD operations in Collections, Edges, Vertices. And a few Transactions.
Hi @elbow-jason,
How does edges work with this hex?
In Xarango it had a specific type of document for graphs.
Hi @elbow-jason,
I have an issue where its complaining it can't reach the hostname of "arangodb" even though I can ping it fine:
2018-08-09 14:16:5312:16:53.539 [info] OpenExchangeRates Updating Rates...
2018-08-09 14:16:5312:16:53.548 [info] Running ServerWeb.Endpoint with Cowboy using http://0.0.0.0:4000
2018-08-09 14:16:5312:16:53.565 [info] Application server exited: Server.Application.start(:normal, [:durango]) returned an error: shutdown: failed to start child: Server.Repo
2018-08-09 14:16:53 ** (EXIT) an exception was raised:
2018-08-09 14:16:53 ** (RuntimeError) Invalid Durango.Repo.Auth response :nxdomain for Elixir.Server.Repo
2018-08-09 14:16:53 (durango) lib/repo/auth.ex:24: Durango.Repo.Auth.refresh_token/1
2018-08-09 14:16:53 (server) lib/server/repo.ex:2: Server.Repo.refresh_token/1
2018-08-09 14:16:53 (server) lib/server/repo.ex:2: Server.Repo.init/1
2018-08-09 14:16:53 (stdlib) gen_server.erl:374: :gen_server.init_it/2
2018-08-09 14:16:53 (stdlib) gen_server.erl:342: :gen_server.init_it/6
2018-08-09 14:16:53 (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
2018-08-09 14:16:55{"Kernel pid terminated",application_controller,"{application_start_failure,server,{{shutdown,{failed_to_start_child,'Elixir.Server.Repo',{#{'__exception__' => true,'__struct__' => 'Elixir.RuntimeError',message => <<\"Invalid Durango.Repo.Auth response :nxdomain for Elixir.Server.Repo\">>},[{'Elixir.Durango.Repo.Auth',refresh_token,1,[{file,\"lib/repo/auth.ex\"},{line,24}]},{'Elixir.Server.Repo',refresh_token,1,[{file,\"lib/server/repo.ex\"},{line,2}]},{'Elixir.Server.Repo',init,1,[{file,\"lib/server/repo.ex\"},{line,2}]},{gen_server,init_it,2,[{file,\"gen_server.erl\"},{line,374}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,342}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,249}]}]}}},{'Elixir.Server.Application',start,[normal,[durango]]}}}"}
2018-08-09 14:16:55Kernel pid terminated (application_controller) ({application_start_failure,server,{{shutdown,{failed_to_start_child,'Elixir.Server.Repo',{#{'__exception__' => true,'__struct__' => 'Elixir.RuntimeError
2018-08-09 14:16:55
2018-08-09 14:16:55Crash dump is being written to: erl_crash.dump...done
Any ideas?
Hi,
After running for a while it crashes with this:
2018-08-12 22:23:5520:23:55.605 [error] GenServer Server.Repo terminating
2018-08-12 22:23:55** (UndefinedFunctionError) function nil.token_refresh_interval/0 is undefined
2018-08-12 22:23:55 nil.token_refresh_interval()
2018-08-12 22:23:55 (server) lib/server/repo.ex:2: Server.Repo.handle_info/2
2018-08-12 22:23:55 (stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
2018-08-12 22:23:55 (stdlib) gen_server.erl:711: :gen_server.handle_msg/6
2018-08-12 22:23:55 (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
2018-08-12 22:23:55Last message: :refresh_token
2018-08-12 22:23:5520:23:55.611 [info] Application server exited: shutdown
2018-08-12 22:23:57{"Kernel pid terminated",application_controller,"{application_terminated,server,shutdown}"}
2018-08-12 22:23:57Kernel pid terminated (application_controller) ({application_terminated,server,shutdown})
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.