Replies: 2 comments 2 replies
|
Try using return teamUsersRepo
.query()
.whereIn('id', userIds)
.with('role')
.get() |
1 reply
|
I thought It worked, but now I see it does keep the order provided, 1st object are the Changed the order of the I did not notice order was not working because I had an Edit: I see now that the order kept is the first call done to the API, then it stays frozen. Is there some kind of cache set by default? It's a bit weird that only respects the order first time and then when changing the ids object content it stays the same. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello, I'm migrating from vuex-orm and I'm stuck because
whereIdInseems to be missing .As an alternative I've tried
whereIn, but has issues.In vuex-orm
whereIdInworked, and also it kept the order given in the array on the results.Will this function exist in the package?
All reactions