Publish CRUD on a Table
Publish CRUD on a Table
- Run
SELECT * FROM <table>on one table, then click Create CRUD.... You can also choose Create CRUD APIs from the table's ⋮ menu in the sidebar. - Choose the operations: List, Get, Create, Update and Delete. The dialog shows each operation's method, URL and the statement it runs. List and Create answer at
/api/v1/data/<connection>/<name>; Get, Update and Delete add the table's primary key to the path. - Enter the model name, which names the APIs, and click Create.
Publish list, get, create, update and delete operations for one table.