@@ -30,7 +30,7 @@ def upsert(self, collection_name, data):
30
30
:return: http response, 201 if successful along with data posted.
31
31
32
32
**Example**::
33
- client.collection .upsert('user', [{"id": '1', "name": "Juniper", "hobbies": ["Playing", "Sleeping", "Eating"]},
33
+ client.collections .upsert('user', [{"id": '1', "name": "Juniper", "hobbies": ["Playing", "Sleeping", "Eating"]},
34
34
{"id": '2', "name": "Ruby", "interests": ["Sunbeams", "Surprise Attacks"]}])
35
35
"""
36
36
@@ -56,8 +56,8 @@ def select(self, collection_name, ids):
56
56
:return: meta data as json blob
57
57
58
58
**Example**::
59
- client.collection .select('user', 1)
60
- client.collection .select('user', [1,2,3])
59
+ client.collections .select('user', 1)
60
+ client.collections .select('user', [1,2,3])
61
61
"""
62
62
63
63
if type (ids ) != list :
@@ -87,7 +87,7 @@ def delete_many(self, collection_name, ids):
87
87
88
88
**Example**::
89
89
client.collections.delete('user', '1')
90
- collections.delete('user', ['1','2','3'])
90
+ client. collections.delete('user', ['1','2','3'])
91
91
"""
92
92
93
93
if type (ids ) != list :
0 commit comments