Comments (7)
@chefhl ArangoDB 3.0 combines http api for create/read/update/delete
documents and edges. so the client should be updated with the new api. i will do it until tomarrow
from arangoclient.net.
UPDATE:
i tested it with ArangoDB 2.8(see below), it seems it breaks with 3.0 version. let me look in to it
@chefhl i inserted an edge with success in ArangoDB 2.8.1
and .net client 0.7.31
with the following code
db.CreateCollection("VoltageLevelOfSubstation", type: CollectionType.Edge);
db.CreateCollection("VoltageLevel");
db.CreateCollection("Substation");
db.EdgeCollection("VoltageLevelOfSubstation")
.InsertEdge(from: "VoltageLevel/F4419f583-13f4-4577-b95e-09269e2c4e2f",
to: "Substation/1fc54ab8-85c1-42a3-8605-0bcf8ac3d09d",
edgeDocument: new VoltageLevelOfSubstation { Label = "connectes two vertices" });
public class VoltageLevelOfSubstation
{
public string Label { get; set; }
[DocumentProperty(Identifier = IdentifierType.EdgeFrom)]
public string From { get; set; }
[DocumentProperty(Identifier = IdentifierType.EdgeTo)]
public string To { get; set; }
}
can you provide the insert code you are using and also ArangoDB, .Net client version?
from arangoclient.net.
I just started prototyping today so I'm on ArangoDB v3.0.0 and .net driver v0.7.31
Obviously that is the problem.
Thanks for looking into this so quickly!
from arangoclient.net.
@chefhl edges/graph changes to work with ArangoDB 3.0 may take longer(a week or so).
https://docs.arangodb.com/3.0/Manual/ReleaseNotes/UpgradingChanges30.html
https://docs.arangodb.com/3.0/cookbook/AQL/MigratingGraphFunctionsTo3.html
i will inform you here when its done.
from arangoclient.net.
Any update yet?
from arangoclient.net.
@chefhl sorry but it will take longer than i thought. not sooner than a month. i'm revising all aspects of client.
from arangoclient.net.
@chefhl client now support v3.0 version of ArangoDB, InsertEdge
should work fine now. install the latest version from the nuget. sorry if it took long
from arangoclient.net.
Related Issues (20)
- ArangoServerException not throw when db unavailable HOT 2
- Thread safety HOT 7
- Confused with SystemDatabaseCredential HOT 5
- Custom Index HOT 6
- ByExampleAsync missing HOT 2
- Make ChangeCollectionPropertyForType public HOT 1
- Using LINQ query with Where performance HOT 1
- Error in generated AQL when upserting a generic document HOT 7
- ArangoServerException eats up all the useful information like status code and error number HOT 2
- Make collection name resolver more extensible HOT 2
- Annotating a property of type Guid as DocumentProperty.Key throws InvalidCastException HOT 2
- Support private setter
- CreateStatement<object> & Remove Vertex HOT 1
- Ternary operator support
- Global error handling policy
- Support for keyOptions: uuid
- Edge Document API not supported?
- Cannot Simply Connect to Server...... HOT 2
- Secure connection to ArangoDB
- Query directly within a collection
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 arangoclient.net.