mcc v1.2.0 Mcc.Model.TableUtil
Table util module.
Link to this section Summary
Functions
First for current table
Return all records from current table by given key
Return all keys from current table
Put into current table
Table info
Link to this section Types
Link to this type
consistency_level()
Link to this section Functions
Link to this function
first(table_name, consistency_level \\ :async_dirty)
first(table_name, consistency_level \\ :async_dirty)
first(atom(), consistency_level()) :: term() | :"$end_of_table"
first(atom(), consistency_level()) :: term() | :"$end_of_table"
First for current table.
Link to this function
get_all(table_name, key, consistency_level)
get_all(table_name, key, consistency_level)
get_all(atom(), term(), consistency_level()) :: [map()]
get_all(atom(), term(), consistency_level()) :: [map()]
Return all records from current table by given key
.
Link to this function
keys(table_name, consistency_level)
keys(table_name, consistency_level)
keys(atom(), consistency_level()) :: [map()]
keys(atom(), consistency_level()) :: [map()]
Return all keys from current table.
Link to this function
put(table_name, tuple, consistency_level)
put(table_name, tuple, consistency_level)
put(atom(), tuple(), consistency_level()) :: :ok
put(atom(), tuple(), consistency_level()) :: :ok
Put into current table.
Link to this function
table_info(table_name, info_key)
Table info.