SqlLiteral

com.augustnagro.magnum.SqlLiteral
See theSqlLiteral companion object
trait SqlLiteral

A SQL string that is interpolated directly into a sql"" query (and not as a PreparedStatement parameter)

For example,

 val myQaSchema = SqlLiteral("db_qa")
 sql"SELECT * FROM $myQaSchema.table_name"

Generates the SQL:

 "SELECT * FROM db_qa.table_name"

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ColumnName
class ColumnNames
class TableInfo[EC, E, ID]

Members list

Value members

Abstract methods

def queryRepr: String