Skip to content

Filter properties in Notion database queries to improve performance #579

Description

@madebyisaacr

Notion database page queries should use the filter_properties parameter to only fetch the properties which are enabled on the collection. For example, if your database has 10 properties but only 3 are enabled on the Framer collection, it currently fetches the values of all 10 properties for each page despite only using the data from 3 of them. We could improve performance by only fetching enabled properties.

https://developers.notion.com/reference/query-a-data-source

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions