Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public void CanPerformQueryToSelectSingleItem() { db.Put("ayende", null, JObject.FromObject(new { Name = "Ayende" }), new JObject(), null); var result = db.ExecuteQueryUsingLinearSearch(new LinearQuery { Query = "from doc in docs select new { doc.Name }" }); Assert.Empty(result.Errors); Assert.Equal(@"{""Name"":""Ayende"",""__document_id"":""ayende""}", result.Results[0].ToString(Formatting.None)); }