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 Objecttrait Matchableclass Any
- Known subtypes
Members list
In this article