duckweb_client_asset
scalar · LOAD duckweb
duckweb_client_asset(VARCHAR) -> VARCHARServes the client bootstrap’s own scripts.
SELECT duckweb_client_asset(route)
FROM duckweb_match(route, '/_duckweb/:file')
WHERE duckweb_client_asset(route) <> ''/_duckweb/client.js and /_duckweb/host.js are embedded in the native build; this returns either as a complete response. Any other path returns the empty string, which is how a route tells that it should fall through.
Most apps never call it — the server answers the reserved /_duckweb/ prefix itself. It exists for an app that routes those paths deliberately, or that serves the bootstrap from somewhere else.
In the browser tiers it answers 501 for those two paths, for the reasons given under duckweb_client_shell.