Description Usage Arguments Value
Query a database and return pages contained in that database. Also allows the
user to apply sorting and filtering logic to customize which/how pages are
returned. For details on how to structure these filters and sorts, see
query_body
, property_filter
, and
property_sort
.
1 | query_database(database.id, key, query.body = NULL)
|
database.id |
The database ID as a character. |
key |
Notion access key. |
query.body |
The query body which contains potential filters and sorts. |
A list of pages.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.