Create Hub CRUD Assets
This page applies when the account publishes data APIs on the Hub. When it publishes them in DataIQ, see [[product:ol-dataiq/publish-crud-api|Publish CRUD on a Table]] instead ([[product:ol-dataiq/data-api-target|Where Data APIs Are Published]] explains the setting).
For a single-table SELECT * query on a supported connection, use Create CRUD… in the Query Console toolbar or table context menu.
OL DataIQ creates four OpenLegacy Hub assets — SELECT, INSERT, UPDATE, and DELETE — for the table in your query.
Requirements
- OL Hub must be configured on the OL DataIQ server (an administrator sets the Hub URL and API key)
- Query must be a
SELECT *against one table
Steps
- Run or write a
SELECT * FROM your_tablequery. - Choose Create CRUD…
- Configure the Hub project/module options in the dialog.
- Confirm to create the assets in Hub.
For a single query asset (not full CRUD), use Create API… instead.
Create SELECT, INSERT, UPDATE, and DELETE Hub assets from a single-table query.