Data types

AppMaster.io supports various types of fields, every field can contain an array (collection) of values. The best way to get a maximum of platform features is to select proper field types. Platforms AI treats every type differently and many autogeneration functions depend on the field type. Try to use the most accurate field types for your data.

Field type

Description

Use case

String

Standard string field

Any string data - just short text that not required special formatting (for phones and emails use special fields)

Text

Multiline text field

Comments, messages, texts and etc.

Integer

This is an integer number for counting objects

For any integer values - quantities, counters, etc.

Float

Float values with standard precision

Money values, any float values

Boolean

Boolean value has only True or False state

Ideal for data fields that have only 2 states, e.g. delivered, active, etc.

Date

Standard date field, stores only date without time.

Use where the only date is important and not time

Time

Standard time of the day field stores only time without a date.

Use where an only time of the day is important and not date

DateTime

Combined date and time field, stores date with time in a single value.

Use as a full representation of the day and time moment

TimeSpan

Special type for storing time interval length with up to millisecond accuracy.

Use for time interval definition, used as a result of two dates substruction.

Password

String field, dedicated to storing passwords and sensitive data.

Passwords, tokens, sensitive data

Email

String field, designed to store emails.

Email fields

Phone number

Phone numbers can be stored and rendered with special formatting

Phone number fields

File

File field type is designed to store any type of files. Uses default storage to store file data and DB to store metadata.

Photos, videos, attachments and etc.

Geo point

GPS standard point with longitude and latitude (eg 37.381238, -121.974801)

For map points primarily, any map and location-related data. If you want to add accuracy - add via a separate field.

Enum

An enum type is a special data type that represents the value from the predefined list of values.

Ideal when the user needs to pick a value from the predefined list of values. E.g. status of an order, fixed list of vehicle types and etc.

Model

Field, that has a link to an existing data model.

Used in relations between models, business processes and endpoint variables.

Array

Array type is a data type that represents a collection of elements.

Use when you need to store multiple elements of the same type in one field.

🚧 Changing types

While there is automatic types conversion implemented in the AppMaster.io platform, converting between certain types can lead to data loss.

Last updated