Files
nocodb/packages/nc-sql-executor
2025-10-28 15:56:29 +07:00
..
2025-10-28 15:56:29 +07:00
2023-11-08 16:01:32 +03:00
2023-11-08 16:01:32 +03:00
2025-05-29 11:45:32 +05:30
2025-05-26 18:30:58 +05:30
2023-11-08 16:01:32 +03:00

run locally

  • npm install
  • npm run build
  • npm run start:prod

build docker

docker build . -t nc-sql-executor

sample query

curl localhost:9000/query -X POST -d@t.txt -H "Content-Type: application/json" -v

{ "query": [ "SELECT * FROM bookings limit 1" ], "config": { "client": "pg", "connection": { "host": "3.22.21.158", "port": "5432", "user": "postgres", "password": "**********", "database": "demo_small" }, "pool": { "min": 0, "max": 10 } } }