I am trying to query the view using complex key like in the below code:
var query = GetQuery(Views.by_user_id_and_event_date); query.StartKey(new object[] { userId, DateTime.MinValue }) .EndKey(new object[] { userId, DateTime.Now }) .InclusiveEnd(false) .Limit(limit) .Desc();
I doesn not return any record.
However when I remove Desc() it does return some rows in ascending order.
Other than that when I remove Limit(limit) it doesn’t return any rows again…
Is there any particular reason for the above behaviours?