RollupPropertySpec

A rollup uses a relation property that exists on the current database and extracts a property of the related pages as an input to a chosen function.

See Reference.

Types

Properties

Link copied to clipboard

The function that is evaluated for every page in the relation of the rollup.

Link copied to clipboard
abstract val id: String

The ID of the property, usually a short string of random letters and symbols. Some automatically generated property types have special human-readable IDs. For example, all Title properties have an ID of title.

Link copied to clipboard
abstract val name: String

The name of the property as it appears in Notion.

Link copied to clipboard

The ID of the relation property this property is responsible for rolling up.

Link copied to clipboard

The name of the relation property this property is responsible for rolling up.

Link copied to clipboard
abstract val rollupPropertyId: String

The ID of the property of the pages in the related database that is used as an input to function.

Link copied to clipboard

The name of the property of the pages in the related database that is used as an input to function.