Sql

akka.persistence.r2dbc.internal.Sql$
@InternalStableApi
object Sql

INTERNAL API: Utility to format SQL strings. Replaces ? with numbered $1, $2 for bind parameters. Trims whitespace, including line breaks.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Sql.type

Members list

Concise view

Type members

Classlikes

final implicit class Interpolation(val sc: StringContext) extends AnyVal

Scala string interpolation with sql prefix. Replaces ? with numbered $1, $2 for bind parameters. Use ?? to include a literal ?. Trims whitespace, including line breaks. Standard string interpolation arguments $ can be used.

Scala string interpolation with sql prefix. Replaces ? with numbered $1, $2 for bind parameters. Use ?? to include a literal ?. Trims whitespace, including line breaks. Standard string interpolation arguments $ can be used.

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def format(sql: String, args: AnyRef*): String

Java API: Replaces ? with numbered $1, $2 for bind parameters. Use ?? to include a literal ?. Trims whitespace, including line breaks. The arguments are used like in java.lang.String.format.

Java API: Replaces ? with numbered $1, $2 for bind parameters. Use ?? to include a literal ?. Trims whitespace, including line breaks. The arguments are used like in java.lang.String.format.

Attributes

Implicits

Implicits

final implicit def Interpolation(sc: StringContext): Interpolation

Scala string interpolation with sql prefix. Replaces ? with numbered $1, $2 for bind parameters. Use ?? to include a literal ?. Trims whitespace, including line breaks. Standard string interpolation arguments $ can be used.

Scala string interpolation with sql prefix. Replaces ? with numbered $1, $2 for bind parameters. Use ?? to include a literal ?. Trims whitespace, including line breaks. Standard string interpolation arguments $ can be used.

Attributes