Jump to: navigation, search

Database Query API

1 byte added, 19:13, 29 January 2016
The ORDER-BY-LIST is either None or is a list of dotted-field path strings paired with "ASC" or "DESC".
* [("gramps_id", "DESC")]
* [("primary_name.first_name", "ASC"), ("gramps_id", "DESC")]
The first-listed field name is the primary sort, followed by secondary sorts. In the last example above example, the data would be sorted first by first_name ascending, and inside that, by gramps_id descending, such as:
Avery, I0003

Navigation menu