Skip to main content

notion.relationfiltercondition

Home > @runlightyear/notion > RelationFilterCondition

RelationFilterCondition interface

Signature:
interface RelationFilterCondition 

Optional Properties

PropertyModifiersTypeDescription
contains?NotionId

The value to compare the relation property value against.

Returns database entries where the relation property value contains the provided string.

doesNotContain?NotionId

The value to compare the relation property value against.

Returns entries where the relation property value does not contain the provided string.

isEmpty?true

Whether the relation property value does not contain data.

Returns database entries where the relation property value does not contain any data.

isNotEmpty?true

Whether the relation property value contains data.

Returns database entries where the property value is not empty.