FeedHenry MySQL Connector
The FeedHenry MySQL Connector. For more information on MySQL see: https://github.com/felixge/node-mysql.
Group MySQL Connector API
MySQL Query
Endpoint | /cloud/mysql |
HTTP Method | POST |
Request (application/json)
Body
{
"query": "select * from my_table"
}
Response 200 (application/json)
Body
{
"column_a": "value",
"column_b": "value"
}
Tests
All the tests are in the "test/" directory. The cloud app is using mocha as the test runner.
Unit tests
npm run unit
Unit coverage
npm run coverage