klibnotion icon indicating copy to clipboard operation
klibnotion copied to clipboard

Implement sorting by `timestamp` in query database api

Open yujinyan opened this issue 3 years ago • 0 comments

The Query a database endpoint accepts an array of sort objects in the sorts body parameter.

The sort object can contain a timestamp property with possible values "created_time" and "last_edited_time".

Currently, the library only provides PropertySort.

See https://developers.notion.com/reference/post-database-query

yujinyan avatar Oct 13 '21 04:10 yujinyan