MutedSqlDriver

class MutedSqlDriver(delegate: <Error class: unknown class>, val invalidationController: DbInvalidationController)

SqlDriver wrapper that can mute invalidations.

Important: SQLDelight itself will call driver.notifyListeners(...) after commit (transaction cleanup). By intercepting notifyListeners here, we effectively "mute" query invalidations globally without touching DAOs.

Constructors

Link copied to clipboard
constructor(delegate: <Error class: unknown class>, invalidationController: DbInvalidationController)

Functions

Link copied to clipboard
open fun addListener(vararg queryKeys: String, listener: <Error class: unknown class>)
Link copied to clipboard
open fun close()
Link copied to clipboard
open fun notifyListeners(vararg queryKeys: String)
Link copied to clipboard
open fun removeListener(vararg queryKeys: String, listener: <Error class: unknown class>)