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
In the documents, it says:
await Model.orderBy('-created_at', 'category_id')
is it possible to somehow pass an array of strings as the args?
The text was updated successfully, but these errors were encountered:
Hi @rancou! You can use the spread syntax:
await Model.orderBy(...myArray)
Sorry, something went wrong.
include
append
orderBy
🎉 This issue has been resolved in version 1.8.0 🎉
The release is available on:
Your semantic-release bot 📦🚀
Successfully merging a pull request may close this issue.
In the documents, it says:
await Model.orderBy('-created_at', 'category_id')
is it possible to somehow pass an array of strings as the args?
The text was updated successfully, but these errors were encountered: