asc
asc(
attributeName,attributeType):OrderByAttribute
Defined in: src/query/queryBuilder.ts:24
Helper function to create an ascending order by attribute
Parameters
Section titled “Parameters”attributeName
Section titled “attributeName”string
The name of the attribute to order by
attributeType
Section titled “attributeType”The type of the attribute to order by (string or number)
"string" | "number"
Returns
Section titled “Returns”Input for orderBy method
Example
Section titled “Example”const ascAttribute = asc("name", "string")