Comments (3)
In addition, is there another way to query ArangoDB without relying on Ecto
?
from arangodb_ecto.
@tbm206 I suppose you mean Ecto 3.0, since there exists no version 4.0 as of now (https://www.hex.pm/packages/ecto/versions). I have been meaning to update the adapter to Ecto 3.0 for a while now, but unfortunately I never found enough time.
Anyway, you can certainly use Ecto 2.2 since this is also what we do for now. Just make sure that your deps list specifies the correct version: {:ecto, "~> 2.2"}
You can always resort to pure AQL like this:
{:ok, result} = ArangoDB.Ecto.query(MyRepo, """
FOR d in docs
FILTER ...
RETURN d
""")
This will use the DB settings from your Repo configuration.
from arangodb_ecto.
I know this is an old issue but just in case someone is looking at this in the future. I have made an adapter for ArangoDB for Ecto 3.x. It also implements some additional features such as better support for graphs, geo data, etc.
https://github.com/TomGrozev/arangox_ecto
from arangodb_ecto.
Related Issues (12)
- Error creating database HOT 2
- Remove Ecto.DateTime
- Add VelocyStream based driver to the adapter
- Use of Raw AQL Queries HOT 2
- Dynamic has_many HOT 1
- Incompatible with Ecto 2.2 HOT 1
- Use "database" instead of "database_name" to resemble the Postgres adapter
- Changes needed for Ecto 3.0
- Add "preload" feature HOT 2
- Improve documentation
- Publish to hexdocs.pm
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arangodb_ecto.