External Database Connector: Show databases in the browse/tree view so you can query across multiple databases on one connection - Mendix Forum

External Database Connector: Show databases in the browse/tree view so you can query across multiple databases on one connection

0

When you set up the External Database Connector, you can browse the connection and see all the schemas in a tree view, then pick tables/objects from there. But the tree is rooted at a single database — the database is fixed by the connection and never appears as a browsable level in the tree. Many database platforms (Snowflake, SQL Server, etc.) expose multiple databases through one connection, the same way they expose multiple schemas. Please introduce the database as a level in the browse/tree view, so you can expand databases → schemas → tables on a single connection and query across them.


Current Behavior / Limitation


Why This Is a Strong Limitation

The biggest pain is cross-database joins:

This means loading all the data into the application before joining — slow, memory-hungry, and defeating the entire purpose of using a powerful query engine like Snowflake. A one-line warehouse join becomes a fragile, expensive client-side operation that doesn't scale.


How Other Tools Handle This

Practically every mature data/integration tool treats the database as just another browsable level in the object path, not as a hard connection boundary:

Mendix is the odd one out: the platform capability exists, but the browse tree stops one level too low.



Proposed Solution

  1. Add the database as a top level in the browse/tree view — let users expand databases → schemas → tables on a single connection, the same way schemas are already browsable today.
  2. Scope the connection to the account/role/warehouse (or server) rather than to a single database, so the tree can surface every database the credentials can reach.
  3. Allow fully-qualified object references (database.schema.object) selected from the tree, so a single query can reference objects from multiple databases.
  4. Permit cross-database joins to be pushed down to the source database, so the join executes server-side rather than in the Mendix runtime.



Benefit / Impact



asked
0 answers