All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.tech.skot.model.persist.PersistDb.kt Maven / Gradle / Ivy

There is a newer version: 1.2.9
Show newest version
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