
com.lucidchart.open.relate.interp.package.scala Maven / Gradle / Ivy
The newest version!
package com.lucidchart.open.relate
package object interp {
implicit class SqlString(string: String) {
def toSql = InterpolatedQuery.fromParts(Seq(string), Seq())
}
implicit class SqlStringContext(stringContext: StringContext) {
def sql(args: Parameter*) = InterpolatedQuery.fromParts(stringContext.parts, args)
}
def tuple(parameters: SingleParameter*) = new TupleParameter(parameters)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy