AzureStorage.Table.retrieve_entity
You're seeing just the function
retrieve_entity
, go back to AzureStorage.Table module for more information.
Link to this function
retrieve_entity(context, table_name, partition_key, row_key, options \\ [])
View SourceRetrieve an entity by PartitionKey and RowKey
Supported options
:as
- return result asjson
orAzureStorage.Table.EntityDescriptor
The default value is:json
.
context |> AzureStorage.Table.retrieve_entity("table1", "partition_key", "row_key", as: :json)
# {:ok, %{...}}
context |> AzureStorage.Table.retrieve_entity("table1", "partition_key", "row_key", as: :entity)
# {:ok, %EntityDescriptor{}}