📄️ Creating a model
To create a model via the Designer, you have two options. Either you can create a model from scratch or from a sample JSON document.
📄️ Adding fields to a model
You can find details about adding fields to a model via our documentation page.
📄️ Adding sub-models
Each model consists of various types fields and also sub-models.
📄️ Adding model references
While designing your data model, you might need to reference other model or sub-model objects.
📄️ Defining field default values
When creating a new object of a model in the database, you might need to assign a default value for a field if the field value is not provided as input.
📄️ Adding validation rules
Most Altogic fields already have default validation rules, such as min/max length of text or min/max, positive/negative values assigned to a number, etc.
📄️ Managing dependencies
Altogic manages the dependencies across the models and fields of your data model design.
📄️ Best practices
Your data model depends on your particular application's data access patterns.