compound_sort.Rd
The compound_sort
function combines a list of sorts into a compound one.
Each element in this list should be an output of property_sort
.
This function is only meant for use
within the query_database
function.
compound_sort(...)
... | A list of property sorts. |
---|
An object of class notionr_compund_sort
.
compound_sort( property_sort( property = "Ingredients", timestamp = "last_edited_time", direction = "descending" ), property_sort( property = "Travel Destinations", timestamp = "created_time", direction = "ascending" ) ) #> [[1]] #> [[1]]$property #> [1] "Ingredients" #> #> [[1]]$timestamp #> [1] "last_edited_time" #> #> [[1]]$direction #> [1] "descending" #> #> #> [[2]] #> [[2]]$property #> [1] "Travel Destinations" #> #> [[2]]$timestamp #> [1] "created_time" #> #> [[2]]$direction #> [1] "ascending" #> #> #> attr(,"class") #> [1] "list" "notionr_compound_sort"