API test query failing when using parameters (SQL)

Options
_Chris
_Chris Registered Posts: 2 ✭✭✭✭

I'm working on an API runs an SQL query.

The query runs fine when I use hard coded values but when I try to use the same values as parameters the I get this error:

"Failed: Query failed: The column index is out of range: 1, number of columns: 0."

The query is a simple:

SELECT * FROM table WHERE column = '?'



Using the parameters:

{

"column": "value"

}

Tagged:

Answers

Setup Info
    Tags
      Help me…