Difference between revisions of "Gramps Data Model"

From Gramps
m (See also: add link to the PyLint docs)
(Updated for v5.2)
Line 1: Line 1:
{{man note|Gramps data model (v4.1)}}
+
{{man note|Gramps data model (v5.2)}}
  
 
Gramps uses the pickle module to serialise object hierarchies and store them in the database.
 
Gramps uses the pickle module to serialise object hierarchies and store them in the database.
Line 5: Line 5:
 
Details of the pickle module can be found here:
 
Details of the pickle module can be found here:
 
* https://docs.python.org/3/library/pickle.html
 
* https://docs.python.org/3/library/pickle.html
 
Below is a diagram of the Gramps data model (v4.1). As of October 2020, this model is reported to be valid for the v5.1 of Gramps. However, there is a minor `PlaceName` objects change in 4.2 to contain a string, language code and date range.
 
  
 
The [[GEPS_045:_Place_Model_Enhancements|Places Model Enhancements]] planned for v5.3 are expected to have deeper changes.  [[GEPS_045:_Place_Model_Enhancements#Documentation|One target for that Gramps Proposal]] includes this documentation.  
 
The [[GEPS_045:_Place_Model_Enhancements|Places Model Enhancements]] planned for v5.3 are expected to have deeper changes.  [[GEPS_045:_Place_Model_Enhancements#Documentation|One target for that Gramps Proposal]] includes this documentation.  
Line 13: Line 11:
  
  
[[File:GrampsDataModel.svg|1024px]]
+
[[File:GrampsDataModel_03.svg|1024px]]
  
 
== See also ==
 
== See also ==

Revision as of 20:27, 27 September 2024

Gramps-notes.png
Gramps data model (v5.2)

Gramps uses the pickle module to serialise object hierarchies and store them in the database.

Details of the pickle module can be found here:

The Places Model Enhancements planned for v5.3 are expected to have deeper changes. One target for that Gramps Proposal includes this documentation.

Primary objects are coloured blue. Secondary objects are coloured black. The dotted lines enclose object hierarchies that are stored in the database tables.


GrampsDataModel 03.svg

See also