query_database.Rd
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
.
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.