search_sort: Create a search sort

Description Usage Arguments Value

View source: R/search.R

Description

Construct a search sort to sort results returned from the search_workspace function. This sort is only meant for use within the search_workspace function.

Usage

1
search_sort(timestamp = "last_edited_time", direction = "descending")

Arguments

timestamp

Which property to sort by. Currently, "last_edited_time" is the only valid option.

direction

Which direction to sort in. Must be either "descending" or "ascending".

Value

A search sort object.


dmolitor/notionr documentation built on Dec. 20, 2021, 12:11 a.m.