QueryGramplet

From Gramps
Revision as of 04:59, 15 March 2010 by Dsblank (Talk | contribs) (New page: Category:Plugins Category:Developers/General The Query Gramplet takes SQL-like queries and produces a Quick View. Image:QueryGramplet.jpg SQL-like: select FIELDS from TABL...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


The Query Gramplet takes SQL-like queries and produces a Quick View.

QueryGramplet.jpg

SQL-like:

select FIELDS from TABLE where PYTHON-BOOLEAN-EXPRESSION;

TABLES: FIELDS:

  1. people: given_name, surname, suffix, title, birth_date, death_date, gender, birth_place, death_place, change, marker
  2. families:
  3. sources:
  4. events:

Examples:

$ select given_name, surname from people;

$ select * from people where surname.startswith("Smith")