Order by in a query clause
Hey guys,
I am trying to retrieve a list of exercises and it's data + grid position (join) from my database. I also want this array of result to be ordered by it's grid position.
Here is what I came up with (the following code works just fine however notice the javascript
So how could I order my final result by it's grid position ?
I have tried the following but without any luck:
I am trying to retrieve a list of exercises and it's data + grid position (join) from my database. I also want this array of result to be ordered by it's grid position.
Here is what I came up with (the following code works just fine however notice the javascript
.sort rather than using the drizzle orderBy).So how could I order my final result by it's grid position ?
I have tried the following but without any luck: