Forum OpenACS Q&A: Response to db pools with the 4.x api

Collapse
Posted by Michael A. Cleverly on
The number of pools you define equals the depth you can nest calls to the db_* api. So, with three pools, you could have:
    db_foreach A { ... } {
        db_foreach B { ... } {
            db_foreach C { ... } {
                # but not db_foreach D { ... }
            }
        }
    }