You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Impossible to create a DatabaseQuery with an empty DatabseQueryFilter. Fields that do not have empty values (such as embedded structs) cannot be omitted. Source
To Reproduce
Populate your environment variables with valid values for NOTION_SECRET_API_KEY and NOTION_DATABASE_ID and run the following code.
Given the following table
I go the following error
The text was updated successfully, but these errors were encountered:
AsFal
changed the title
Impossible to create an empty DatabaseFilterQuery to fetch all rows from a database
Impossible to create an empty DatabaseQueryFilter to fetch all rows from a database
May 25, 2021
Specifying nil for ¬ion.DatabaseQuery wouldn't allow the use of an empty filter with custom Sort, StartCursor, or PageSize values. This would prevent fetching all the entries from a database with more than 100 entries given the page size limit.
Description
Impossible to create a DatabaseQuery with an empty DatabseQueryFilter. Fields that do not have empty values (such as embedded structs) cannot be omitted. Source
To Reproduce
Populate your environment variables with valid values for
NOTION_SECRET_API_KEY
andNOTION_DATABASE_ID
and run the following code.Given the following table
I go the following error
The text was updated successfully, but these errors were encountered: