An element never runs a query itself. It hands the query, as JSON, to a provider you choose. The engine can answer it right in the tab, compiled to WebAssembly and running in a worker if you like, so data the page loads itself needs no server at all.
For data that belongs on a server, opengrid-server answers the same queries from PostgreSQL, SQLite or a connector of your own. In between, the planner gives the server the part it can answer and finishes the rest in the tab. A shared set of conformance cases checks that all paths agree.
