Gemini Docs
  • Gemini Overview
  • 🎯Use cases & Benefits
  • 🚴‍♂️Getting Started
  • Backend Module
    • Overview
    • Getting Started
      • REST API - Micronaut MongoDB
    • Rest API
      • Basic CRUD
        • POST /data/{entity}
        • GET /data/{entity}/{id}
        • PUT /data/{entity}/{id}
        • PATCH /data/{entity}/{id}
        • DELETE /data/{entity}/{id}
      • Getting Data
        • GET All Data
        • Pagination
        • Filters
        • Sorting
      • Rest Configuration
        • Big Entities
        • Reference
    • The Schema (DDD)
      • Entities
      • Fields
        • String
        • Number
        • Boolean
        • Date & Time
        • Enum & Select
        • Object
        • Array
        • Dictionary
    • Data Drivers
Powered by GitBook
On this page
  1. Backend Module
  2. The Schema (DDD)
  3. Fields

String

String is the primitive type to store any type of text. Usually a string field is used as a logical key for an entity record, like the example below for the entity with name Category.

type: ENTITY
entity:
  name: CATEGORY
  displayName: Category
  lk: [id]
  fields:
    - name: id
      type: STRING
      required: true
    - name: description
      type: STRING

Future releases will introduce validations and text/string checking that you can define both in a declarative way directly in the schema and both as a totally custom code.

PreviousFieldsNextNumber

Last updated 3 years ago