{"repo":"matteobortolazzo/couchdb-net","free":true,"listed":false,"github":"https://github.com/matteobortolazzo/couchdb-net","clone":"git clone https://github.com/matteobortolazzo/couchdb-net.git","description":"Query CouchDB with LINQ!","language":"C#","stars":145,"topics":["couchdb","driver","nosql","database","netstandard","xamarin","pouchdb","efcore","netcore","aspnetcore"],"license":"MIT","category":"databases-storage","readme_excerpt":"CouchDB.NET V4 Query CouchDB with LINQ ! Inspired by Cosmos SDK . For CouchDB.NET V3 docs: README.md LINQ queries C# query example: The produced Mango JSON: Index Getting started Queries Combinations Conditions Native method Composite methods Authentication Options Serialization behavior HttpClient customization Changes Feed Feed Options Feed Filter Indexing Index Options Partial Indexes Partitioned Databases Views Local (non-replicating) Documents Bookmark and Execution stats Users Replication Dependency Injection Getting started Install it from NuGet: https://www.nuget.org/packages/CouchDB.NET Create a client providing the endpoint and authentication: Create a class or record for your documents: Get a database reference: Query the database Queries The database class exposes all the implemented LINQ methods like Where and OrderBy, those methods returns an IQueryable . LINQ are supported natively to the following is possible: Selector The selector is created when the method Where ( IQueryable ) is called. If the Where method is not called in the expression, it will at an empty selector. Combinations Mango C# :----------- :----------------- $and && $or \\ \\ $not ! $nor !( \\ \\ ) $all a.Contains(x) $all a.Contains(list) $elemMatch a.Any(condition) $allMatch a.All(condition) Conditions Mango C# :--------------- :------------------- $lt = $gt $exists o.FieldExists(s) $type o.IsCouchType(...) $in o.In(list) $nin !o.In(list) $size a.Count == x $mod n % x = y $regex s.IsMatch(rx) Nati","default_branch":null,"files":null,"tree":[],"storefront":"/r/matteobortolazzo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/matteobortolazzo/couchdb-net/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}