private ChangesResult Get(ChangesQuery query) { string path = "_changes"; var responseContent = session.Get(path, query.ToDictionary()); return(responseContent.DeserializeObject <ChangesResult>()); }
public AllDocsResult All(ViewQuery query = null) { query = query ?? new ViewQuery(); var path = "_all_docs"; var responseContent = session.Get(path, query.ToDictionary()); var final = responseContent.DeserializeObject <AllDocsResult>(); return(final); }
public Database Get() { return(session.Get <Database>("")); }