hormo studio
  • Getting Started
  • Introduction
    • How it works ?
    • Create Project
    • Playground
  • Models
    • Create model
    • Properties
    • Field types
    • UI Types
    • Options
    • Validations
    • Relations
    • Built-in User model
  • Database
    • Create Database
    • Connect to model
  • Restful API
    • Playground
    • Filters
    • Access Token
  • Dashboard
    • Usage
    • Manage users
    • Change Authentication
  • Monitoring
    • List of reports
    • Watch requests
  • Documentation
    • Export generated docs
  • Deployment
  • Licence
Powered by GitBook
On this page

Was this helpful?

  1. Models

Field types

PreviousPropertiesNextUI Types

Last updated 2 years ago

Was this helpful?

The following table summarizes Hormo Studio data types. Each property in your model should have data field type. for example when your property contains date or times you have to select date or DateString type for your property

Type

Description

Example

any

Any type, including array, object, Date, or GeoPoint

Any of: true, 123, "foo", [ "one", 2, true ]

array

JSON array

[ “one”, 2, true ]

Boolean

JSON Boolean

true

buffer

Node.js

new Buffer(42);

date

JavaScript

new Date(“December 17, 2003 03:24:00”);

GeoPoint

LoopBack GeoPoint

new GeoPoint({lat: 10.32424, lng: 5.84978});

DateString

LoopBack DateString

"2000-01-01T00:00:00.000Z""2000-01-01" "2000-01-01 12:00:00"

null

JSON null

null

number

JSON number

422

Object

JSON object or any type

{ “firstName”: “John”, “lastName”: “Smith”, “age”: 25 }

String

JSON string

“flashboard”

UI Types
Buffer object
Date object