Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit e0ba190

Browse files
fliiiixemlaver
authored andcommitted
Update documentation to match function signature (#445)
s/get_list_result/get_list_function_result/
1 parent 63d7f04 commit e0ba190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cloudant/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ def get_list_function_result(self, ddoc_id, list_name, view_name, **kwargs):
932932
# Assuming that 'view001' exists as part of the
933933
# 'ddoc001' design document in the remote database...
934934
# Retrieve documents where the list function is 'list1'
935-
resp = db.get_list_result('ddoc001', 'list1', 'view001', limit=10)
935+
resp = db.get_list_function_result('ddoc001', 'list1', 'view001', limit=10)
936936
for row in resp['rows']:
937937
# Process data (in text format).
938938

0 commit comments

Comments
 (0)