get_db_orm

Event.get_db_orm(project)[source]

Get an orm representation to use it for bulk insertion into the database.

Parameters

project (mss_dataserver.core.project.Project) – The project to use to access the database.

Returns

An instance of the sqlalchemy Table Mapper class defined in mss_dataserver.event.databaseFactory().

Return type

EventDb