OptionalClientThe caller's network address as Express resolved it (req.ip, which honours the app's
trust proxy setting). Present for HTTP requests; absent on WebSocket (subscription) contexts.
Used only to key abuse limits (e.g. realtime verification sends) — never as an identity.
The default and backwards compatible connection pool.
Array of connection pools that have additional information about their intended use e.g. Admin, Read-Write, Read-Only.
Per-request DatabaseProviderBase instances
OptionalqueryOptionalRequestThe request's Origin header as a normalized origin — scheme, host and port, lowercased, no
trailing slash (e.g. https://app.example.com:8443). Normalized by NormalizeOrigin, the same
helper the realtime widget allowlist uses, so it compares to allowlist entries normalized the
same way with plain string equality. Ports are kept as sent; browsers omit default ports.
Undefined when the request sent no Origin (server-to-server calls, many same-origin GETs),
sent the opaque null origin, or sent a value that is not an http(s) origin. Always absent on
WebSocket (subscription) contexts. Treat undefined as "origin unknown": an allowlist check
must fail closed on it.
AppContext is the context object that is passed to all resolvers.