Field types
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: |
array | JSON array | [ “one”, 2, true ] |
Boolean | JSON Boolean | true |
buffer | Node.js Buffer object | new Buffer(42); |
date | JavaScript Date object | new Date(“December 17, 2003 03:24:00”); |
GeoPoint | LoopBack GeoPoint | new GeoPoint({lat: 10.32424, lng: 5.84978}); |
DateString | LoopBack DateString |
|
null | JSON null | null |
number | JSON number | 422 |
Object | JSON object or any type | { “firstName”: “John”, “lastName”: “Smith”, “age”: 25 } |
String | JSON string | “flashboard” |
Last updated