A Helppo drives exposes a predefined interface which Helppo can use to query the database.
Look at the source code of helppo-driver-mysql
to get an idea of a working driver. Basically, a driver is an object containing a few specific functions. At the time of writing those functions are:
getSchema();
getTableRows(tableName, columnNames, browseOptions);
saveRow(table, rowId, row);
Any Helppo driver should pass the driver test suite, which can be found at packages/helppo-driver-utils/runHelppoDriverTests.js
.
Refer to packages/helppo-driver-mysql/set/driver.spec.js
to see how it is used.