MeshDatabase

abstract class MeshDatabase : RoomDatabase

Room database for the ProjectMesh application.

This database stores messages, conversations, and user entities. It provides DAOs to access and manipulate each type of data.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
open val isOpen: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun beginTransaction()
Link copied to clipboard
Link copied to clipboard
open fun close()
Link copied to clipboard
Link copied to clipboard

Provides access to conversation-related database operations.

Link copied to clipboard
open fun endTransaction()
Link copied to clipboard
open fun <T> getTypeConverter(klass: Class<T>): T?
Link copied to clipboard
open fun init(configuration: DatabaseConfiguration)
Link copied to clipboard
Link copied to clipboard
abstract fun messageDao(): MessageDao

Provides access to message-related database operations.

Link copied to clipboard
open fun query(query: String, args: Array<out Any?>?): Cursor
Link copied to clipboard
open fun runInTransaction(body: Runnable)
open fun <V> runInTransaction(body: Callable<V>): V
Link copied to clipboard
Link copied to clipboard
abstract fun userDao(): UserDao

Provides access to user-related database operations.