We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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} }
{payments(order: "updatedAt", 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
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: