Properties

Models and classes can be further specified by properties. Currently, the following properties are supported.

Property-Types
Beschreibung

ID

Unique identifier. Will be defined automatically for each Model and Class.

Boolean

Represents a true/false value

String

Represents a string of characters

Int

Represents an integer number

Float

Represents a floating-point number (decimal)

Date

Represents a date value

Location

Represents a geographical location, including longitude and latitude. The type can be used for geo operations, e.g., $near.

File

Represents a file. When creating a file property, a "Volume" is expected. A volume defines the directory within the backend application where the file is stored.

Last updated