write_to_database

Catalog.write_to_database(project, only_changed_events=True, bulk_insert=False)[source]

Write the catalog to the database.

Variables
  • project (Project) – The project used to access the database.

  • only_changed_events (bool) – Write only events that have changed to the database.

  • bulk_insert (bool) – If True, insert all events in one database transaction, otherwise each event is written to the database individually.