summaryrefslogtreecommitdiff
path: root/users/app/designs
diff options
context:
space:
mode:
Diffstat (limited to 'users/app/designs')
-rw-r--r--users/app/designs/message/by_user_ids_to_show_and_created_at.js1
1 files changed, 1 insertions, 0 deletions
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) {