Database
Execute a SQL query.
Runs a parameterized SQL statement against the tenant's database and returns the result set.
post/api/v1/sql
Request
- Base URL: https://api.scalix.world
- URL: https://api.scalix.world/api/v1/sql
- Auth: HTTP bearer
Request body
Example request
{
"query": "SELECT * FROM users WHERE id = $1"
}Response
Query results
Example response
{
"columns": [
{
"name": "id",
"type_oid": 23,
"type_name": "int4"
}
],
"command": "SELECT"
}Changes
No recorded changes to this operation across all 1 revision of this API.