Parent_Data = db(db.parent_record.style=='yellow'),select()Child_Data = db(db.parent_record.id == db.child_record.parent_id).select()For r in Parent _Data print r.parent_name For n in Child_Data if n.child_record.parent_id == r.id print child_record.nameI get the ordering but parent appears redundantly.
Do I iterate through loop checking for change in parent.id so parent only gets displayed first time?
previous_parent_id = parent.id ## am resetting the comparison value that checks for change in parent.idelse:display child.name
is there a size limitation to a dictionary? (want to know in general for future purposes)
is there consequential extra overhead if using the dictionary method?