JndDb

abstract class JndDb : RoomDatabase

Represents the database for the application.

This class is a singleton and provides access to the DAOs used to interact with the database.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

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

Functions

Link copied to clipboard
Link copied to clipboard
open fun beginTransaction()
Link copied to clipboard
abstract fun cantEatDao(): CantEatDao

Provides access to the CantEatDao.

Link copied to clipboard
abstract fun clearAllTables()
Link copied to clipboard
open fun close()
Link copied to clipboard
Link copied to clipboard
open fun endTransaction()
Link copied to clipboard
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 likeDao(): LikeDao

Provides access to the LikeDao.

Link copied to clipboard
open fun query(query: String, args: Array<out Any?>?): Cursor
Link copied to clipboard
abstract fun recipeDao(): RecipeDao

Provides access to the RecipeDao.

Link copied to clipboard
open fun runInTransaction(body: Runnable)
open fun <V> runInTransaction(body: Callable<V>): V
Link copied to clipboard