What version of Phoenix are you using?
Plamen Paskov wrote:
Hey folks,
I'm trying to UPSERT some data via the json api but no luck for now. My
requests looks like:
{
"request": "openConnection",
"connectionId": "6"
}
{
"request": "createStatement",
"connectionId": "6"
}
{
"request":
I found it much easier and reliable to make my own phoenix HTTP server with
my own JSON API. It was too confusing for me to send multiple requests for
what would normally be just one SQL statement. And I had problems getting
upserts working, to boot (even with the thin server). Now I can make
Hey folks,
I'm trying to UPSERT some data via the json api but no luck for now. My
requests looks like:
{
"request": "openConnection",
"connectionId": "6"
}
{
"request": "createStatement",
"connectionId": "6"
}
{
"request": "prepareAndExecute",
"connectionId": "6",