Returns a list of all the values which exist in the map. :return: The keys in CouchbaseMap
(self)
| 592 | return list(map_.content_as[dict].keys()) |
| 593 | |
| 594 | async def values(self) -> List[str]: |
| 595 | """ |
| 596 | Returns a list of all the values which exist in the map. |
| 597 | |
| 598 | :return: The keys in CouchbaseMap |
| 599 | """ |
| 600 | op_type = DatastructureOperationType.MapValues |
| 601 | async with ObservableRequestHandler(op_type, self._impl.observability_instruments) as ds_obs_handler: |
| 602 | ds_obs_handler.create_kv_span(self._impl._request_builder._collection_dtls.get_details_as_dict()) |
| 603 | map_ = await self._get(parent_span=ds_obs_handler.wrapped_span) |
| 604 | return list(map_.content_as[dict].values()) |
| 605 | |
| 606 | async def get_all(self) -> List[Any]: |
| 607 | """ |