lightdb.postgresql.PostgreSQLStoreManager.scala Maven / Gradle / Ivy
package lightdb.postgresql
import lightdb.LightDB
import lightdb.doc.{Document, DocumentModel}
import lightdb.sql.connect.ConnectionManager
import lightdb.store.{Store, StoreManager, StoreMode}
case class PostgreSQLStoreManager(connectionManager: ConnectionManager, connectionShared: Boolean) extends StoreManager {
override def create[Doc <: Document[Doc], Model <: DocumentModel[Doc]](db: LightDB,
name: String,
storeMode: StoreMode): Store[Doc, Model] =
new PostgreSQLStore[Doc, Model](connectionManager, connectionShared, storeMode)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy