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