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

molecule.sql.mariadb.spi.SpiAsync_mariadb.scala Maven / Gradle / Ivy

There is a newer version: 0.13.0
Show newest version
package molecule.sql.mariadb.spi

import boopickle.Default._
import molecule.boilerplate.ast.Model._
import molecule.sql.core.spi.SpiAsyncBase
import molecule.sql.mariadb.query.Model2SqlQuery_mariadb
import scala.concurrent.{Future, ExecutionContext => EC}


object SpiAsync_mariadb extends SpiAsync_mariadb

trait SpiAsync_mariadb extends SpiAsyncBase {

  override protected def printInspectQuery(label: String, elements: List[Element])
                                          (implicit ec: EC): Future[Unit] = Future {
    val query = new Model2SqlQuery_mariadb(elements).getSqlQuery(Nil, None, None, None)
    printRaw(label, Nil, query)
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy