get_partition_key {AzureCosmosR}R Documentation

Container partition key information

Description

Container partition key information

Usage

get_partition_key(container)

list_partition_key_values(container)

list_partition_key_ranges(container)

Arguments

container

An object of class cosmos_container.

Details

These are functions to facilitate working with a Cosmos DB container, which often requires knowledge of its partition key.

Value

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.


[Package AzureCosmosR version 1.0.0 Index]