commonMain.tech.skot.model.persist.PersistDb.kt Maven / Gradle / Ivy
package tech.skot.model.persist
import com.squareup.sqldelight.Transacter
import com.squareup.sqldelight.db.SqlDriver
import tech.skot.model.persist.`data`.PersistedQueries
import tech.skot.model.persist.model.newInstance
import tech.skot.model.persist.model.schema
public interface PersistDb : Transacter {
public val persistedQueries: PersistedQueries
public companion object {
public val Schema: SqlDriver.Schema
get() = PersistDb::class.schema
public operator fun invoke(driver: SqlDriver): PersistDb = PersistDb::class.newInstance(driver)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy