AstRenderer

dataprism.sharedast.AstRenderer
class AstRenderer[Codec[_]](ansiTypes: AnsiTypes[Codec], getCodecTypeName: [A] => (x$1: Codec[A]) => String)

Attributes

Source
AstRenderer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class H2AstRenderer[Codec]
class MySqlAstRenderer[Codec]
class MariaDbAstRenderer[Codec]
class MySql57AstRenderer[Codec]
class MySql8AstRenderer[Codec]
class PostgresAstRenderer[Codec]
class SqliteAstRenderer[Codec]
Show all

Members list

Value members

Concrete methods

def quote(s: String): String

Attributes

Source
AstRenderer.scala
def quoteSql(sql: SqlStr[Codec]): SqlStr[Codec]

Attributes

Source
AstRenderer.scala
def renderDelete(query: SelectAst[Codec], returning: Boolean): SqlStr[Codec]

Attributes

Source
AstRenderer.scala
def renderInsert(table: SqlStr[Codec], columns: List[SqlStr[Codec]], values: SelectAst[Codec], conflictOn: List[SqlStr[Codec]], onConflict: List[(SqlStr[Codec], SqlExpr[Codec])], returning: List[SqlExpr[Codec]]): SqlStr[Codec]

Attributes

Source
AstRenderer.scala
def renderMerge(ast: MergeAst[Codec]): SqlStr[Codec]

Attributes

Source
AstRenderer.scala
def renderSelectStatement(data: SelectAst[Codec]): SqlStr[Codec]

Attributes

Source
AstRenderer.scala
def renderUpdate(columnNames: List[SqlStr[Codec]], valuesAst: SelectAst[Codec], returningExprs: List[SqlExpr[Codec]]): SqlStr[Codec]

Attributes

Source
AstRenderer.scala

Extensions

Extensions

extension [A](codec: Codec[A])
def name: String

Attributes

Source
AstRenderer.scala