1 :class:`Database` -- The underlying notmuch database
2 ====================================================
4 .. currentmodule:: notmuch
6 .. autoclass:: Database([path=None[, create=False[, mode=MODE.READ_ONLY]]])
10 .. automethod:: open(path, status=MODE.READ_ONLY)
12 .. automethod:: get_path
14 .. automethod:: get_version
16 .. automethod:: needs_upgrade
18 .. automethod:: upgrade
20 .. automethod:: begin_atomic
22 .. automethod:: end_atomic
24 .. automethod:: get_directory
26 .. automethod:: add_message
28 .. automethod:: remove_message
30 .. automethod:: find_message
32 .. automethod:: find_message_by_filename
34 .. automethod:: get_all_tags
36 .. automethod:: create_query
38 .. attribute:: Database.MODE
40 Defines constants that are used as the mode in which to open a database.
43 Open the database in read-only mode
46 Open the database in read-write mode
48 .. autoattribute:: db_p