AzureStorage.Table (AzureStorage v0.1.1) View Source

Azure Table Service

ref. https://docs.microsoft.com/en-us/rest/api/storageservices/table-service-rest-api

{:ok, context} = AzureStorage.create_table_service("account_name", "account_key")
context |> retrieve_entity("partition_key_value", "row_key_value")

Link to this section Summary

Link to this section Functions

Link to this function

delete_entity(context, table_name, partition_key, row_key, etag \\ "*")

View Source

Deletes an existing entity in a table.

Link to this function

insert_entity(context, table_name, entity_descriptor)

View Source

ref. https://docs.microsoft.com/en-us/rest/api/storageservices/insert-entity

Link to this function

query_entities(context, query)

View Source

Specs

query_entities(AzureStorage.Request.Context.t(), AzureStorage.Table.Query.t()) ::
  {:ok, list(), String.t()} | {:error, String.t()}

Query entities from a table storage

Link to this function

query_entities(context, query, continuation_token)

View Source

Specs

query_entities(
  AzureStorage.Request.Context.t(),
  AzureStorage.Table.Query.t(),
  String.t() | nil
) :: {:ok, list(), String.t()} | {:error, String.t()}

Query entities from a table storage with continuation_token.

Link to this function

retrieve_entity(context, table_name, partition_key, row_key)

View Source

Retrieve an entity by PartitionKey and RowKey