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

lightdb.sql.package.scala Maven / Gradle / Ivy

There is a newer version: 2.3.0
Show newest version
package lightdb

import lightdb.doc.Document
import lightdb.transaction.{Transaction, TransactionKey}

package object sql {
  def StateKey[Doc <: Document[Doc]]: TransactionKey[SQLState[Doc]] = TransactionKey("sqlState")

  def getState[Doc <: Document[Doc]](implicit transaction: Transaction[Doc]): SQLState[Doc] = transaction(StateKey[Doc])
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy