Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Treatment connect

sql::connect


Configuration

⬡ sql_pool: sql::SqlPool

Inputs

⇥ trigger: Block<void>


Open the SQL connection pool.

Waits for trigger, then attempts to connect to the database. On success the model’s connected source fires; on failure the failure source fires.

graph LR
     T("connect()")
     B["〈🟦〉"] -->|trigger| T
     style B fill:#ffff,stroke:#ffff