Cartographic Boundary Room Data Source
Implementation of CartographicBoundaryDataSource that utilizes Room Database for CRUD (Create, Read, Update, Delete) operations on CartographicBoundary data. This class also handles the association with Regions
It leverages dependency injection to receive an instance of CartographicBoundaryDAO for interacting with the database layer.
Functions
Inserts a CartographicBoundary object into the database.
Retrieves a Flow of List<CartographicBoundary>.
Retrieves a Flow of CartographicBoundary objects that contain a specific Region.
Retrieves a CartographicBoundary given a AdministrativeUnitName The initial emission will be null if no matching CartographicBoundary is found for the provided administrative unit name.
Updates a CartographicBoundary object in the database.