Data Modeling
Tigris enables the data models to be declared as part of the application code. These data models are then converted to appropriate objects, such as collections, on the backend.
In the following sections, we will introduce the following concepts:
📄️ Declaring Models
Models are regular Java model (POJO) comprised of primitive and wrapper Java types, or custom types.
📄️ Primary Key
A primary key uniquely identifies a document in the collection and enforces
📄️ Embedded Data Model
Tigris offers rich documents that enable embedding related data in a single
📄️ Supported Java Types
Tigris supports the majority of the primitive Java types while also providing