Collection
Methods for working with collections.
Collection
¶
Methods for working with collections.
Source code in src/scruby/mixins/collection.py
collection_list()
async
staticmethod
¶
Asynchronous method for getting collection list.
Source code in src/scruby/mixins/collection.py
collection_name()
¶
Asynchronous method for getting the collection name.
Returns:
| Type | Description |
|---|---|
str
|
Collection name. |
delete_collection(name)
async
staticmethod
¶
Asynchronous method for deleting a collection by its name.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
Collection name. |
required |
Returns:
| Type | Description |
|---|---|
None
|
None. |