Note Database
The main database class for the application, built using Room. This class defines the database configuration and serves as the main access point to the persisted data.
Types
Link copied to clipboard
object Companion
Companion object to provide a singleton instance of the NoteDatabase. This ensures that only one instance of the database is created throughout the application's lifecycle, which is important for performance and data consistency.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getAutoMigrations(autoMigrationSpecs: Map<Class<out AutoMigrationSpec>, AutoMigrationSpec>): List<Migration>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard