Sorry, I couldn't get it to work. I have a
SqlQueryAll action like this:
{
"connection": "2",
"sql": "SELECT id, name FROM family",
"limit": 25
}
And a simple passthru route '/family' that points to that action. Then I make this HTTP GET request:
/family/?orderBy=name&sortOrder=DESC
But it continues to order by id', which is the primary key on the table. I expected it to query the database as:
SELECT * FROM family ORDER BY name DESC
Can you please tell me what I'm missing?
Thank you!
Andre