-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
I'm looking into sorting graphQL result depending on updatedAt setting:
Here is my query :
{payments(order: "updatedAt", where: + where + ){ id, state, token, amount, bankData, comment, createdAt, updatedAt, PaymentOrder, payment_order{ id, priceTaxIncluded, user_orders{firstName, lastName} }
I have a problem with the order argument.
I'm not able to sort ASC or DESC, as order arguments ask for a String I could not find any method to sort the result.
I tried with :
"updatedAt DESC"
"updatedAt_DESC"
but both fails
Any idea ?
Thank you
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels