Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Hubert Jarosz
    @Marqin
    Woah. It crashed Mono compiler.
    Troy
    @bbqchickenrobot
    Are there plans to add authentication to this library?
    Troy
    @bbqchickenrobot
    Nevermind.... think I found it .... arango = new ArangoDatabase(new DatabaseSharedSetting()
    {
    ClusterMode = false,
    Database = "db",
    Url = "http://localhost:8529",
    Credential = new NetworkCredential("user", "pass")
    });
    raoof hojat
    @ra0o0f
    @Marqin thanks for submitting the bug, thanks to @jjchiw, changed the code an now client supports for mono runtime
    Troy
    @bbqchickenrobot
    It's taking 15 minutes to insert 40k records ... is that normal? Any way to process batch inserts
    Stanislav Lukeš
    @exyi
    @bbqchickenrobot I don't know if this client support bulk imports, but ArrangoDB supports it. I'm using another client to import documents.
    I will share how I'm doing it if @ra0o0f does not have better solution
    Troy
    @bbqchickenrobot
    ..@exyi - thx for the info. Will check out alternative clients. I'm working on a pretty large project so I may contribute to the bulk import on this project if it's not already working
    Stanislav Lukeš
    @exyi
    Stanislav Lukeš
    @exyi
    Stanislav Lukeš
    @exyi
    It should not be hard to write there import method
    raoof hojat
    @ra0o0f
    @exyi @bbqchickenrobot , i also came across a use case where i need the bulk import too, i will look in to it today and inform you when it's done
    raoof hojat
    @ra0o0f
    @exyi @bbqchickenrobot , bulk import is ready, please give a feedbak before i upload new nuget packages
    List<object> docs = new List<object>
                    {
                       // 3 types can be used in list
                        new { name = "hello" }, // clr type
                        "{\"age\":555}", // string json
                        JObject.Parse("{\"age\":000}") // JObject type
                    };
    
                    var result = db.Advanced.BulkImport<Person>(docs, details: true);
    Troy
    @bbqchickenrobot
    cool, will do!! Awesome!
    Troy
    @bbqchickenrobot
    Is this in master branch?
    Troy
    @bbqchickenrobot
    nm
    figured it out
    Troy
    @bbqchickenrobot
    tried to build branch 'Next' but it says the ArangoDB.Client is missing file /http/GenericStreamContent.cs
    raoof hojat
    @ra0o0f
    @bbqchickenrobot no it's in next branch
    @bbqchickenrobot let me check, yes that is a new file
    Troy
    @bbqchickenrobot
    Hey, haven't gotten around to testing this - but should have more time this weekend!
    raoof hojat
    @ra0o0f
    @bbqchickenrobot missing file is pushed
    Troy
    @bbqchickenrobot
    cool, thx!
    jjchiw
    @jjchiw
    @ra0o0f what does ThrowForServerErrors in DatabaseSetting does? I'm trying to understand but I don't know why you are setting it to false and then to the original value. I'm not really sure but sometimes the value is set to false and when I try to iterate in a cursor It only gives me one result because of this line https://github.com/ra0o0f/arangoclient.net/blob/next/src/ArangoDB.Client/Cursor/CursorAsyncEnumerator.cs#L84 I'm reusing the same ArangoDatabase instance, I'm not creating a new one, since I turned off the change tracker and there is not an active connection in the database......
    jjchiw
    @jjchiw
    Ok I think I understand why you set the value to false, in order to return a "custom error" in some methods like db.Document<T>() a BadRequest DistinctResult_BadRequest_DontThrow
    jjchiw
    @jjchiw
    Ok, I changed this line https://github.com/ra0o0f/arangoclient.net/blob/next/src/ArangoDB.Client/Cursor/CursorAsyncEnumerator.cs#L84 to if (db.Setting.ThrowForServerErrors == false && CursorResult.Error) the tests passed and it seems it's working in my app
    raoof hojat
    @ra0o0f
    @jjchiw yes ThrowForServerErrors is used when you want to do something other than throwing for error base on BaseResult object, like return null in db.Document when document does not exists, https://github.com/ra0o0f/arangoclient.net/blob/next/src/ArangoDB.Client/Collection/ArangoCollection.cs#L523
    raoof hojat
    @ra0o0f
    you are right, this is a bug, it should check for CursorResult.Error, you want me to push the change you make or a PR?
    raoof hojat
    @ra0o0f
    @jjchiw ArangoDatabase object is not meant to be thread safe, maybe that's why the bug is show itself in your app, unless you changed db.Setting.ThrowForServerErrors explicitly.
    raoof hojat
    @ra0o0f
    @jjchiw found another bug, i created separate issue for them #36 #37
    jjchiw
    @jjchiw
    @ra0o0f ok I will create the PR with CursorResult.Error
    Troy
    @bbqchickenrobot
    What version of ArangoDB does this client support? 2.8 yet?
    raoof hojat
    @ra0o0f
    @bbqchickenrobot yes i work with version 2.8 myself. but not all API are implemented yet. dont hesitate to open an issue for the one you need
    Umesh
    @UmeshDotNet
    am sorry if i sound dumb...i recently heard about ArangoDB.....looks like features are comparable with mongodb(just for documentdb) and even better with transaction management support.................has anyone had bad experiences with ArangoDB
    Janne Siera
    @jannesiera
    Hey everyone
    We currently use ArangoDB-NET and wanted to switch to arangoclient.net because of LINQ
    however, when we swap out the implementations we get regular semi-random IO execptions
    Saying the server didn't respond
    Has anyone else experienced this?
    Janne Siera
    @jannesiera
    The options parameter is not supported yet?
    I would need to set the fullCount flag to ture
    true*
    TheM3tabaron
    @TheM3tabaron
    where does the arango community reside?
    community is not on gitter. okay. will try to locate It.
    TheM3tabaron
    @TheM3tabaron
    sorry for the confusion. ArangoDB community is on Slack (proprietary product). So thats where we are at. People leaving IRC to sign up on websites like Gitter and Slack. Just fucking retarded!
    Having to open a browser and log into a website, to join a channel!? Just think about It for a moment (he ones of you who are not generation Y, but felt you HAD to come here, because Its the hip thing to do)
    prog20901
    @prog20901
    I am new to arango DB...can anyone please clarify the below.
    1. Does arango DB can be integrated with R2DBC ?
    2. Is arango DB is faster than couch or Mongo or OrientDB ?
    3. What are the differences between arango vs couch vs Mongo vs OrientDB?