Row Value

Life Cycle

RouteCreateReadUpdateDelete
/app/:tenant/:entity-slug
/app/:tenant/:entity-slug/new
/app/:tenant/:entity-slug/:id
/api/:entity-slug
/api/:entity-slug/:id

Properties

NameTitleTypeDescription
rowId *RowRowParent Row.
propertyId *PropertyPropertyParent Property.
textValue Text ValueStringFor properties.[type]=ENTITY
numberValue Number ValueDecimalFor properties.[type]=NUMBER
dateValue Date ValueDateTimeFor properties.[type]=DATE
booleanValue Bool ValueBoolean
media MediaMedia[]For properties.[type]=MEDIA. Contains the file title, name, type and content.

Model

model RowValue {
  id           String    @id @default(cuid())
  rowId        String
  row          Row       @relation(fields: [rowId], references: [id], onDelete: Cascade)
  propertyId   String
  property     Property  @relation(fields: [propertyId], references: [id], onDelete: Cascade)
  textValue    String?
  numberValue  Decimal?
  dateValue    DateTime?
  media        Media[]
}

cookies.titleSmall

cookies.descriptionSmall shared.learnMore.