{% for r in rows %} {{ r.conn_id }} {{ r.client }} {% if r.user.user %}{{ r.user.user }}@{{ r.user.db }}{% else %}โ€”{% endif %} {{ r.op or 'โ€”' }} {% if r.active %}active{% else %}idle{% endif %} {{ r.opened_at }} โ€” {% else %} No connections. {% endfor %}