Catalog.
write_to_database
Write the catalog to the database.
project (Project) – The project used to access the database.
Project
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.