Copyright © 2010-2021 Marc Worrell
Behaviours: zotonic_model.
Authors: Marc Worrell (marc@worrell.nl).
delete/2 | Delete a value from the store. |
delete/3 | Delete a value from the store. |
get/3 | Fetch a value from the store. |
init/1 | Ensure that the persistent table is present. |
m_get/3 | Fetch the value for the key from a model source. |
put/4 | Put a value into the store. |
delete(Type, Context) -> any()
Delete a value from the store
delete(Type, Key, Context) -> any()
Delete a value from the store
get(Type, Key, Context) -> any()
Fetch a value from the store
init(Context) -> any()
Ensure that the persistent table is present
m_get(Rest::list(), Msg::zotonic_model:opt_msg(), Context::z:context()) -> zotonic_model:return()
Fetch the value for the key from a model source
put(Type, Key, Data, Context) -> any()
Put a value into the store
Generated by EDoc