Description Usage Arguments Details Value Examples
The property_filter()
function applies a filter condition within a database
query to limit which pages are returned.
1 | property_filter(property, type, body)
|
property |
A character string; the name of the property to apply the filter to. |
type |
A character string; the property type as identified by Notion. |
body |
A two-sided formula. The left hand side specifies the filter condition property - valid condition properties depend on the filter type - and the right had side specifies the filtering value. |
The property_filter()
applies to a particular database property, by name or
id. It applies a user-supplied condition to this property to limit which
pages are returned. For a full set of valid properties and property types,
see the documentation here.
This filter is only meant for use within the query_database
function.
A list; a formatted property filter.
1 2 3 4 5 | property_filter(
property = "Landmark",
type = "rich_text",
body = contains ~ "Bridge"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.