coronabytes / dotnet-arangodb

.NET Driver for ArangoDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LINQ Query Document Delete

Snotax opened this issue · comments

Hi, I just wanted to ask if deleting a document with LINQ is possible. I didn't find anything in the documentation or the tests.

Something like: .Where(t => t.Key== "").DeleteAsync()

Thanks for your help!

await Arango.Query<Project>("test")
.Where(x => x.Name == "Project A")
.Remove().In<Project>().Select(x=>x.Key).ToListAsync();