QueryRenderer

zio.blocks.sql.query.QueryRenderer
object QueryRenderer

Attributes

Source
QueryRenderer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def render[A](query: SqlQuery[A], dialect: SqlDialect): Frag

Renders a typed query IR to an executable Frag.

Renders a typed query IR to an executable Frag.

dialect is currently informational: both dialects render ? placeholders (see Frag.renderSql), so rendering is dialect-identical today. The parameter is kept (rather than removed) so a future $N-style dialect can thread through without an API break; revisit if such a dialect lands.

Attributes

Source
QueryRenderer.scala