From 54b66206cbfff47c318dd03b34f22388a497228e Mon Sep 17 00:00:00 2001 From: gecong1973 Date: Sat, 15 Jul 2017 06:16:07 -0400 Subject: [PATCH] Fix mongodb list method's param note replace mongodb list method's param note fields with projection. Change-Id: I89c8ca0d95df8987f8d41d339230491fc6dfdc27 --- zaqar/storage/mongodb/messages.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zaqar/storage/mongodb/messages.py b/zaqar/storage/mongodb/messages.py index 63f53f4b5..a7c2148e5 100644 --- a/zaqar/storage/mongodb/messages.py +++ b/zaqar/storage/mongodb/messages.py @@ -243,8 +243,9 @@ class MessageController(storage.Message): client_uuid :param client_uuid: (Default None) UUID for the client that originated this request - :param fields: (Default None) Fields to include in emitted - documents + :param projection: (Default None) a list of field names that should be + returned in the result set or a dict specifying the fields to + include or exclude :param include_claimed: (Default False) Whether to include claimed messages, not just active ones :param sort: (Default 1) Sort order for the listing. Pass 1 for