get

Function get 

Source
pub async fn get<D: DeserializeOwned + Send, P: Into<PartitionKeyIntermediate>, C: ToString, S: ToString>(
    collection_name: C,
    pk: P,
    document_id: S,
) -> Result<(D, String), CosmosErrorStruct>
Expand description

Returns a specific document from the cosmos DB together with a corresponding etag