Schema
schema
¶
Objects representing a database schema.
Checkbox
¶
CreatedBy
¶
CreatedTime
¶
Date
¶
DualPropertyRelation
¶
Defines a two-way relation configuration for a database property.
If a two-way relation property X relates to Y then the two-way relation property Y relates to X.
Email
¶
Files
¶
Formula
¶
LastEditedBy
¶
LastEditedTime
¶
MultiSelect
¶
Defines the multi-select configuration for a database property.
Number
¶
Defines the number configuration for a database property.
People
¶
PhoneNumber
¶
PropertyRelation
¶
Defines common configuration for a property relation.
database_id: UUID = None
class-attribute
instance-attribute
¶
PropertyType
¶
Relation
¶
Defines the relation configuration for a database property.
relation: SerializeAsAny[PropertyRelation]
instance-attribute
¶
RichText
¶
Rollup
¶
Defines the rollup configuration for a database property.
rollup: TypeData = TypeData()
class-attribute
instance-attribute
¶
TypeData
¶
function: AggFunc = AggFunc.COUNT_ALL
class-attribute
instance-attribute
¶
relation_property_id: str | None = None
class-attribute
instance-attribute
¶
relation_property_name: str = None
class-attribute
instance-attribute
¶
rollup_property_id: str | None = None
class-attribute
instance-attribute
¶
rollup_property_name: str = None
class-attribute
instance-attribute
¶
validate_enum_field(field: str)
classmethod
¶
build(relation, property, function)
classmethod
¶
Select
¶
Defines the select configuration for a database property.
SinglePropertyRelation
¶
Status
¶
Defines the status configuration for a database property.