This command works very fast and is just what I want:
curl http://kevin-linux:5984/buyseasons/_design/product/_view/by-sku
No how do I get my driver (Hammock) to issue a similar command? I have tried:
List<string> skuList = new List<string>();
using (Session session = _couchConnection.CreateSession(dbName))
{
Repository<Shared.Types.Couch.Product> r = new Repository<Shared.Types.Couch.Product>(session);
skuList = r.Queries["by-sku"].All().Select(p => p.SKU).ToList();
}
But this takes 30 minutes up to an hour to run. It is obviously not executing
the same code as the 'curl' command. Ideas
Original issue reported on code.google.com by ronald.k...@gmail.com on 5 Dec 2012 at 1:46
Original issue reported on code.google.com by
ronald.k...@gmail.com
on 5 Dec 2012 at 1:46