Esempio n. 1
0
        private ChangesResult Get(ChangesQuery query)
        {
            string path = "_changes";

            var responseContent = session.Get(path, query.ToDictionary());

            return(responseContent.DeserializeObject <ChangesResult>());
        }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
 public Database Get()
 {
     return(session.Get <Database>(""));
 }