Database

Execute a batch of SQL queries.

Runs multiple SQL statements in one request; each query executes independently and returns its own result set.

post/api/v1/sql/batch

Request

  • Base URL: https://api.scalix.world
  • URL: https://api.scalix.world/api/v1/sql/batch
  • Auth: HTTP bearer

Request body

Example request

{
  "queries": [
    {
      "query": "SELECT * FROM users WHERE id = $1"
    }
  ]
}

Response

Array of query results

Changes

No recorded changes to this operation across all 1 revision of this API.