How to store db_connection inside Runtime[ContextSchema]?

Hello, from the Documentation we see that

Static runtime context represents immutable data like user metadata, tools, and database connections that are passed to an application at the start of a run via the context argument to invoke/stream

Up until now I’ve been using RunnableConfig to define a schema to provide an Assistant (Langgraph Platform) configuration for prompts, but I’m interested to understand how I can use the Runtime to continue to do this but also potentially provide additional functionality of holding runtime data.

Thank you