@@ -30,7 +30,7 @@ def upsert(self, collection_name, data):
3030 :return: http response, 201 if successful along with data posted.
3131
3232 **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"]},
3434 {"id": '2', "name": "Ruby", "interests": ["Sunbeams", "Surprise Attacks"]}])
3535 """
3636
@@ -56,8 +56,8 @@ def select(self, collection_name, ids):
5656 :return: meta data as json blob
5757
5858 **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])
6161 """
6262
6363 if type (ids ) != list :
@@ -87,7 +87,7 @@ def delete_many(self, collection_name, ids):
8787
8888 **Example**::
8989 client.collections.delete('user', '1')
90- collections.delete('user', ['1','2','3'])
90+ client. collections.delete('user', ['1','2','3'])
9191 """
9292
9393 if type (ids ) != list :
0 commit comments