From a19d01313ac534bdbbd8381593f887f1f77c94d5 Mon Sep 17 00:00:00 2001 From: jessib Date: Mon, 13 Jan 2014 11:28:14 -0800 Subject: Comment for how to call view that we aren't now using. --- users/app/designs/message/by_user_ids_to_show_and_created_at.js | 1 + 1 file changed, 1 insertion(+) (limited to 'users') diff --git a/users/app/designs/message/by_user_ids_to_show_and_created_at.js b/users/app/designs/message/by_user_ids_to_show_and_created_at.js index bb6412b..18969b8 100644 --- a/users/app/designs/message/by_user_ids_to_show_and_created_at.js +++ b/users/app/designs/message/by_user_ids_to_show_and_created_at.js @@ -1,4 +1,5 @@ // not using at moment +// call with something like Message.by_user_ids_to_show_and_created_at.startkey([user_id, start_date]).endkey([user_id,end_date]) function (doc) { if (doc.type === 'Message' && doc.user_ids_to_show && Array.isArray(doc.user_ids_to_show)) { doc.user_ids_to_show.forEach(function (userIdsToShow) { -- cgit v1.2.3