Safe Haskell | Safe-Infered |
---|
This module provides functions wrapping the Azure REST API web methods.
- queryTables :: Account -> IO (Either String [String])
- createTable :: Account -> String -> IO (Either String ())
- createTableIfNecessary :: Account -> String -> IO (Either String ())
- deleteTable :: Account -> String -> IO (Either String ())
- insertEntity :: Account -> String -> Entity -> IO (Either String ())
- updateEntity :: Account -> String -> Entity -> IO (Either String ())
- mergeEntity :: Account -> String -> Entity -> IO (Either String ())
- deleteEntity :: Account -> String -> EntityKey -> IO (Either String ())
- queryEntity :: Account -> String -> EntityKey -> IO (Either String Entity)
- queryEntities :: Account -> String -> EntityQuery -> IO (Either String [Entity])
- defaultEntityQuery :: EntityQuery
- defaultAccount :: AccountKey -> String -> String -> Account
Documentation
queryTables :: Account -> IO (Either String [String])Source
List the names of tables for an account or returns an error message
createTable :: Account -> String -> IO (Either String ())Source
Creates a new table with the specified name or returns an error message
createTableIfNecessary :: Account -> String -> IO (Either String ())Source
Creates a new table with the specified name if it does not already exist, or returns an erro message
deleteTable :: Account -> String -> IO (Either String ())Source
Deletes the table with the specified name or returns an error message
insertEntity :: Account -> String -> Entity -> IO (Either String ())Source
Inserts an entity into the table with the specified name or returns an error message
updateEntity :: Account -> String -> Entity -> IO (Either String ())Source
Updates the specified entity (possibly removing columns) or returns an error message
mergeEntity :: Account -> String -> Entity -> IO (Either String ())Source
Merges the specified entity (without removing columns) or returns an error message
deleteEntity :: Account -> String -> EntityKey -> IO (Either String ())Source
Deletes the entity with the specified key or returns an error message
queryEntity :: Account -> String -> EntityKey -> IO (Either String Entity)Source
Returns the entity with the specified table name and key or an error message
queryEntities :: Account -> String -> EntityQuery -> IO (Either String [Entity])Source
Returns a collection of entities by executing the specified query or returns an error message
defaultEntityQuery :: EntityQuerySource
An empty query with no filters and no specified page size
defaultAccount :: AccountKey -> String -> String -> AccountSource
Constructs an Account with the default values for Port and Resource Prefix