Microsoft Azure SQL
Best practice for production apps is to use REST as the data layer to access data and not directly integrate to SQL using the SQL data provider. The SQL data provider will be squiggled in blue to indicate it is not recommended, together with a message to use REST instead. See REST endpoints from Azure SQL for more information.
Integrating with an Azure SQL database is easy, using the SQL data provider in Jigx provides access to interact with external data efficiently. For more information on how the the provider functions, see Microsoft Azure SQL.
What is created
In this section, an SQL database is used to create a customer Jigx app that allows you to:
View a list of customers.
View a single customer.
Capture new customers in a form.
You can update customer details by tapping the Edit customer button. This populates a form with the customer's details and an update button.
Before you begin
We have simplified the process by providing database scripts to create the Customer SQL database on which the example is based.
High-level steps
The SQL data provider is used in Jigx to integrate with an Azure SQL database. In this section, we follow these high-level steps:
Identify the SQL database to be used as your data source.
Configure SQL connection in Jigx Management.
Define a SQL call in a Jigx function in Jigx Builder.
Define data operations in the function, such as SELECT, INSERT, UPDATE, and DELETE. For each operation, create a new function to specify the operation.
Reference the Jigx functions in jigs.
Publish your solution
Test the data provider.
Last updated
Was this helpful?