Forum OpenACS Q&A: Response to Nested multiple tags

Collapse
Posted by Guan Yang on
How do I use this feature with db_multirow? I'd like to do something like this (not actual code):
db_multirow -extend { emails } people people {
    select person_id, first_names, last_name
    from persons
} {
    db_multirow emails emails {
        select email
        from email_addresses
        where person_id = :person_id
    }
}