ProfileDAO
interface ProfileDAO
Database access object responsible for interaction with vehicles profiles table of the vehicle manager database. Actual DAO instance is generated by Room library.
Functions
Link copied to clipboard
Link copied to clipboard
Queries for all vehicle profiles saved in the database
Link copied to clipboard
Queries for a vehicle profile with given ID
Link copied to clipboard
Inserts new profiles to the database. If profile with given ID already exists, the item will not be updated. See insertOrUpdate.
Link copied to clipboard
Inserts or updates vehicle profiles in the database. In case the profile with given ID is already present in the database, it's data will be updated.