1 of 1 users consider this post helpful
Re: [JS] use SQL Statements / database config.json
there is a config.json file below with a declaration of a table and defined statements to add/change/delete/list the table rows.
with the statements defined you can use the api calls as described at the docs you linked.
like
{ "mt": "SqlExec", "statement": "schuhschrank_list" }or
{ "mt": "SqlInsert", "statement": "schuhschrank_add" "args": { "name": "small schuschrank", "width": 200, "height": 100, "auflager": true } }
hope that helpsRico
