Exemplo n.º 1
0
        public async Task Collection()
        {
            await Arango.CreateCollectionAsync("test", "test", ArangoCollectionType.Document);

            await Arango.CreateDocumentAsync("test", "test", new
            {
                Key  = "abc",
                Name = "a"
            });

            var res = await Arango.UpdateDocumentAsync("test", "test", new
            {
                Key  = "abc",
                Name = "c"
            }, returnNew : true, returnOld : true);
        }