# mod\_tkvstore

Source: https://zotonic.com/docs/2015/mod_tkvstore

URI: https://zotonic.com/id/2015

Language: en



Simple (type,key)/value store. Stores data in the store with minimal latency and (local) serialization of get/put requests.

The store itself is implemented as a PostgreSQL table with columns type, key and props. props holds the value for the given type+key combination.

A model, <a href="/id/doc_model_model_tkvstore" class="doc-reference doc-reference-model"><code>model#tkvstore</code></a>, is provided to give easy access to the type+key combinations from the templates, and to perform get/put operations from within Erlang.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2015?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/2015?language=en>)
