Once your Entity is created, you can configure its fields and indexes, preprocess incoming data with the Schema Parser, and manage your data entries directly from the Admin or via the API.
You can easily manage your fields by accessing the Fields tab within your Entity. Here, you have the option to add, edit, and remove fields.
When adding new fields, you have several data types to choose from. It's important to note that once a field is created, its data type cannot be changed.
In order to optimize search operations and determine the order of results, you can index your data. Indexes play a crucial role in improving database performance and are required for API and Analysis requests.
By default, every entity will have an index on the field id.
To create a new index, go to the Fields tab and click the "+ Add Index" button. From this menu, you can select the fields you want to include in the index and assign it a name. Note that indexes cannot be edited once created, but they can be deleted and recreated if necessary.
Since you can add multiple fields to your index, the order of selection is crucial because sorting is only possible by the last field chosen. Additionally, some dashboard functionalities will automatically select the most appropriate index based on the filters applied, unless a specific index is explicitly designated.
When filtering data, you must provide all filters matching the index from left to right:
Before storing data in your entity, you can preprocess it using the Schema Parser. This tool is especially beneficial for validating, normalizing, or transforming data before storage. The Schema Parser operates as a JavaScript code that executes during data insertion.
To activate it, go to the Schema Parser tab and toggle the "Enable" button. Once activated, you can begin writing your code.
The following global variables are available in the Schema Parser:
Once the data is added to your Entity, you can easily manage it by viewing, filtering, inserting, editing, and deleting data entries. You can also manage your data through Analysis SDK or the TagoIO API.
Additionally, you can completely empty the data of your Entity by going to the More tab and clicking the "Empty Entity Data" button.
The number of data entries available per entity is determined by your subscription plan. For more detailed information, please refer to the Limits and Restrictions section.
The Entity has certain limits based on your TagoIO account plan. These limits apply to the number of entities, fields, indexes, and data entries you can create.
Entity operations are subject to the same rate limits (Requests Per Minute) as other mutable operations in your plan. For detailed information on these limits, please refer to the Rate Limits documentation.