no edit summary
Starting with Gramps 5.0, there is a new method on the database object called "select." The goal of select is to make it possible to select most any data, based on most any criteria, sorted in most any order. In addition, where possible, the selection would be as fast as possible.
The database select method works as follows: