# Using a table as a key/value store for avriables

**URL:** <https://community.fibery.io/t/using-a-table-as-a-key-value-store-for-avriables/3939>\
**Category:** Get Help\
**Created:** [February 8, 2023, 6:03am UTC](https://community.fibery.io/t/using-a-table-as-a-key-value-store-for-avriables/3939 "2023-02-08T06:03:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [February 8, 2023, 6:13am UTC](https://community.fibery.io/t/using-a-table-as-a-key-value-store-for-avriables/3939/2 "2023-02-08T06:13:03Z")

</div>

Related:

> [@Global Variables](https://community.fibery.io/t/global-variables/2129):
>
> Do you have any plans to create global variables? I guess this is linked to the concept of shared code snippets. It would be great if I could create/set a variable for a given workspace and then use it in formulas.

You could create a database of ‘global variables’ and these can be referenced in _automation_ formulas, but in order to use them in formula fields, you would need to make sure that any entities that need to use them are linked to them.  
This would imply creating a relation between the database of entities that need them and the global variables database, and populating this relation field with the variables for all entities (either using an auto relation or via an automation I guess).

---

_[View the full topic](https://community.fibery.io/t/using-a-table-as-a-key-value-store-for-avriables/3939)._
