MariaDB
DoubleDino Proxy supports MariaDB using the same query model as MySQL.
Developers can use native MariaDB SQL syntax through the standard query endpoint:
/query
For complete examples including:
- Basic queries.
- Joins.
- JSON fields.
- Debugging workflows.
- curl examples.
- Node.js / Bun examples.
- Python examples.
See the MySQL guide:
Example
MariaDB queries work the same way as MySQL.
- curl
- Node.js / Bun
- Python
curl -G "http://localhost:8080/query" \
--data-urlencode "q=SELECT * FROM orders WHERE id=1" \
-H "x-api-key: your-api-key"
const response = await fetch(
"http://localhost:8080/query?q=" +
encodeURIComponent("SELECT * FROM orders WHERE id=1"),
{
headers: {
"x-api-key": "your-api-key"
}
}
);
console.log(await response.json());
import requests
response = requests.get(
"http://localhost:8080/query",
params={
"q": "SELECT * FROM orders WHERE id=1"
},
headers={
"x-api-key": "your-api-key"
}
)
print(response.json())
Transformation behaviour
MariaDB responses are transformed the same way as other supported SQL databases.
DoubleDino preserves:
- Query result structure.
- Relationships.
- Data types.
- JSON structures.
Sensitive values are transformed before being returned.
Notes
- DoubleDino does not modify MariaDB data.
- Queries execute against the connected source.
- Returned values are always transformed.
- The original database remains unchanged.
Next steps
Continue with:
- MongoDB
- Redis
- Logs