Postgres will be used. Or maybe SurrealDB!!!
docker run --rm --pull always -p 80:8000 -v ./surrealdb:/opt/surrealdb/ surrealdb/surrealdb:latest start --log trace --user root --pass root file:/opt/surrealdb/iot.db
curl -I -X GET localhost:80/health curl -X POST \ -u "root:root" \ -H "NS: test" \ -H "DB: test" \ -H "Accept: application/json" \ -d "SELECT * FROM person" \ http://localhost:80/sql
[ { "time": "127.271\u00b5s", "status": "OK", "result": [ { "id": "person:524rxscey5vz5uvx51p9", "marketing": true, "name": { "first": "Tobie", "last": "Morgan Hitchcock" }, "title": "Founder & CEO" }, { "id": "person:jaime", "marketing": true } ] } ]
There was an error while loading. Please reload this page.