Description Usage Arguments Details Value Examples
The property_sort()
function applies a sort condition within a database
query to sort how pages are returned.
1 2 3 4 5 | property_sort(
property,
timestamp = "last_edited_time",
direction = "descending"
)
|
property |
A character string; the name of the property to apply the sort to. |
timestamp |
A character string; must be one of |
direction |
A character string; must be one of |
The property_sort()
function applies to a particular database property,
by name or id. It applies a user-supplied condition to this property to sort
pages are returned. This sort is only meant for use within the
query_database
function.
A list; a formatted property sort.
1 2 3 4 5 | property_sort(
property = "Ingredients",
timestamp = "last_edited_time",
direction = "descending"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.