keystone.createList('SensorReading', { fields: { loggedAt: { type: DateTime, isRequired: true }, temperature: { type: Float, isRequired: true }, humidity: { type: Float }, }, });
isRequired
Boolean
false
isUnique
Have you found a mistake, something that is missing, or could be improved on this page? Please edit the Markdown file on GitHub and submit a PR with your changes.