Changes

Jump to: navigation, search

Using database API

16 bytes removed, 04:53, 15 February 2009
m
formating for meaning
[[Category:Developers/Tutorials]][[Category:Developers/General]]
==Introduction==
This document describes the basics of the underlying GRAMPS database. This is not intended to be a reference manual, but an introductory programmer's guide to using the GRAMPS database access routines. If you are a looking for documentation on how to use the GRAMPS system as a user instead of as a program developer, it can be found on the [http://gramps-project.org/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=7 GRAMPS documentation web page]. Separate [http://www.gramps-project.org/devdoc/api/2.2/ API Reference Documentation] is available (Note that you should click in the right-hand-corner of this website, on the ''show private'' link to really see how the API works!).
===Database Structure===
;1. Person: 
# handle
# gramps_id
# person_ref_list
;2. Family: 
# handle
# gramps_id
# private
;3. Source: 
# handle
# gramps_id
# private
;4. Place: 
# handle
# gramps_id
# private
;5. Media: 
# handle
# gramps_id
# private
;6. Event: 
# handle
# gramps_id
# private
;7. Name: 
# privacy
# source_list
# call
;8. Address 
# privacy
# source_list
# location
;9. LDS Ord 
# source_list
# note_list
# private
;10. Source Reference 
# date
# privacy
# ref
# page
 
===Handles===
database.connect('person-rebuild',self.update_view)
A full list of the signals that are emitted from the database can be found at the top of the <tt>GrampsDbBase</tt> class in the <tt>GrampsDbBase.py</tt> module.
 
[[Category:Developers/Tutorials]]
[[Category:Developers/General]]
920
edits

Navigation menu