Closed OrfenCLMS closed 4 years ago
It's due to not encoding the parameter value: it should be "boundRows":[["\"dagafdga\""]]
(not the escaped quotes)
This is due to the fact that most QL literals cannot be expressed in Json, so we decided to always have values be encoded as ql literals inside a string. So a number will be "420", and a date: "$2020-10-12$".
Describe the bug
Performing a preparedupdate statement results in an error, while the same query as insert works normally.
Query
Model
alpha_model.txt alpha_dl.txt
Expected behavior
Expecting the query to go work correctly as it does under the insert format.
REST API
If the bug happens when calling the REST API:
docker-compose logs qlserver
Additional context
Stack trace of QL included StackTrace2.txt