molecule.datalog.datomic.spi.DatomicSpiAsyncBase.scala Maven / Gradle / Ivy
package molecule.datalog.datomic.spi
import molecule.boilerplate.ast.Model._
import molecule.core.spi.Renderer
import molecule.datalog.core.query.Model2DatomicQuery
import scala.concurrent.{ExecutionContext, Future}
trait DatomicSpiAsyncBase extends Renderer {
protected def printInspectQuery(label: String, elements: List[Element])
(implicit ec: ExecutionContext): Future[Unit] = Future {
val queries = new Model2DatomicQuery(elements).getDatomicQueries(false)._3
printRaw(label, Nil, queries)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy