Ejemplo n.º 1
0
        public CouchUrl Filter(CouchFilter f)
        {
            var fl = ListModule.OfSeq(new CouchFilter[] { f });

            fl = ListModule.Append <CouchFilter>(this.filters, fl);

            return(Create(this.couchRepo, this.path, this.queryString, fl));
        }
Ejemplo n.º 2
0
        internal CouchUrl DB(string db)
        {
            var path = ListModule.OfSeq <string>(new string[] { db });

            if (this.path.Length > 0) //replace just the first of the list
            {
                path = ListModule.Append(path, ListModule.Tail(this.path));
            }

            return(Create(this.couchRepo, path, this.queryString, this.filters));
        }
Ejemplo n.º 3
0
 public CouchUrl AddRange(IEnumerable <string> collection)
 {
     return(Create(this.couchRepo, ListModule.Append <string>(this.path, ListModule.OfSeq(collection)), this.queryString, this.filters));
 }