get_partition_key {AzureCosmosR} | R Documentation |
Container partition key information
get_partition_key(container)
list_partition_key_values(container)
list_partition_key_ranges(container)
container |
An object of class |
These are functions to facilitate working with a Cosmos DB container, which often requires knowledge of its partition key.
For get_partition_key
, the name of the partition key column as a string.
For list_partition_key_values
, a character vector of all the values of the partition key.
For list_partition_key_ranges
, a character vector of the IDs of the partition key ranges.