Built-in database integration

更新时间:
复制 MD 格式

The Mobi platform provides a built-in database integration feature. This feature lets you perform data operations on the built-in database using simple configuration. This document describes how to use the built-in database integration.

Features

The built-in database integration feature supports the following:

  • Dynamic SQL support: You can use JavaScript expressions in SQL statements to enable dynamic queries.

  • Custom trigger methods: You can set integration operations to trigger manually or run automatically to suit different business scenarios.

  • Callbacks and data transformation: You can configure specific integration operation events to run when a query succeeds or fails, and apply custom transformations to the returned data.

  • Advanced settings: You can use advanced configurations for debouncing and conditional execution prevention to optimize the execution of integration operations.

For more information about events, see Integration operation events.

Differences between built-in database integration and integrated databases

  • Built-in database integration: Connects to the built-in database through an encapsulation provided by the Mobi platform. Developers do not need to manually set connection parameters, such as Host, Port, username, and password.

  • Integrated databases: Connects to external databases. Developers must manually configure connection parameters, such as Host, Port, username, and password, and can also adjust configurations or manage resources as needed.

For more information, see Integrated databases.