Integration with MySQL empowers teams to effortlessly obtain and manage data, ensuring up-to-date insights for informed decision-making. By writing straightforward SQL queries, data can be quickly retrieved and analyzed, enabling efficient workflows. MDX-driven dashboards further simplify visualization, while Python scripts unlock deeper customization and streamlined automation. From real-time reporting to robust analytics, Morph leverages MySQL’s strengths to help users optimize their data processes and collaborate more effectively across the organization.
You can create .sql files and execute SQL queries on the connected database. Use the config function to select the connection you want to use from the available SQL Connections. Replace the value of connection with the name of the SQL Connection you created.
{{
config( name="get_users_list", connection="CONNECTION_NAME")}}
SELECT id, name, email, age
FROM users
WHERE created_at >='2024-01-01'ORDERBY created_at DESC;
Use in SQL and Python
The SQL queries you create can be called from Python and MDX files.