Skip to main content

Creating Data Table Elements from Existing Database Tables

This approach is suitable for scenarios where database tables already exist and corresponding models need to be quickly created in JitAi applications.

Creating Model Based on Database Table

Developers fill in the model name in the New Model dialog, select Create Model Based on Existing Table as the creation method, and choose an existing database. The database defaults to the built-in database.

Select Data Table

Click the Select Database Table input box to display all tables in the database.

Field Mapping

After selecting a database table, click OK to enter the field configuration page. Click Generate Data Model Fields from Associated Database Table, then map the database fields to corresponding data types.