add a way to get every dbid in a group