HelperFunctionsSyntax
Attributes
- Source
- HelperFunctionsSyntax.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Returns (s1 AND s2 AND ... sn)
for a non-empty collection.
Returns (s1 AND s2 AND ... sn)
for a non-empty collection.
Attributes
- Source
- HelperFunctionsSyntax.scala
Returns (s1 AND s2 AND ... sn)
.
Similar to andOpt, but defaults to TRUE if passed an empty collection
Similar to andOpt, but defaults to TRUE if passed an empty collection
Attributes
- Source
- HelperFunctionsSyntax.scala
Returns (s1 AND s2 AND ... sn)
for a non-empty collection.
Returns (s1 AND s2 AND ... sn)
for a non-empty collection.
Attributes
- Source
- HelperFunctionsSyntax.scala
Returns (s1 AND s2 AND ... sn)
for all defined sql, returning Empty SQL if there are no defined sql
Returns (s1 AND s2 AND ... sn)
for all defined sql, returning Empty SQL if there are no defined sql
Attributes
- Source
- HelperFunctionsSyntax.scala
Returns s1, s2, ... sn
.
Returns s1, s2, ... sn
.
Returns (sql IN (v0, v1, ...))
.
Returns (sql IN (s0, s1, ...))
.
Attributes
- Source
- HelperFunctionsSyntax.scala
Returns (sql NOT IN (v0, v1, ...))
.
Returns (sql NOT IN (v0, v1, ...))
, or true
for empty fs
.
Returns (sql NOT IN (v0, v1, ...))
, or true
for empty fs
.
Attributes
- Source
- HelperFunctionsSyntax.scala
Attributes
- Source
- HelperFunctionsSyntax.scala
Returns (s1 OR s2 OR ... sn)
for a non-empty collection.
Returns (s1 OR s2 OR ... sn)
for a non-empty collection.
Attributes
- Source
- HelperFunctionsSyntax.scala
Returns (s1 OR s2 OR ... sn)
.
Similar to orOpt, but defaults to FALSE if passed an empty collection
Similar to orOpt, but defaults to FALSE if passed an empty collection
Attributes
- Source
- HelperFunctionsSyntax.scala
Returns (s1 OR s2 OR ... sn)
for all defined sql, returning Empty SQL if there are no defined sql
Returns (s1 OR s2 OR ... sn)
for all defined sql, returning Empty SQL if there are no defined sql
Attributes
- Source
- HelperFunctionsSyntax.scala
Returns (s1 OR s2 OR ... sn)
for all defined sql, returning Empty SQL if there are no defined sql
Returns (s1 OR s2 OR ... sn)
for all defined sql, returning Empty SQL if there are no defined sql
Attributes
- Source
- HelperFunctionsSyntax.scala
Returns ORDER BY s1, s2, ... sn
.
Attributes
- Source
- HelperFunctionsSyntax.scala
Returns ORDER BY s1, s2, ... sn
or the empty sql if ss
is empty.
Returns ORDER BY s1, s2, ... sn
or the empty sql if ss
is empty.
Attributes
- Source
- HelperFunctionsSyntax.scala
Returns ORDER BY s1, s2, ... sn
for defined s
, if any, otherwise the empty sql.
Returns ORDER BY s1, s2, ... sn
for defined s
, if any, otherwise the empty sql.
Attributes
- Source
- HelperFunctionsSyntax.scala
Returns (sql)
.
Function for setting parameters to be used as static strings.
Function for setting parameters to be used as static strings.
val table = sc("table")
sql"SELECT * FROM $table WHERE id = ${1L}"
// SELECT * FROM table WHERE id = ?
Attributes
- Source
- HelperFunctionsSyntax.scala
Returns SET s1, s2, ... sn
.
Returns SET s1, s2, ... sn
.
Returns VALUES (v0, v1), (v2, v3), ...
.
Returns WHERE s1 AND s2 AND ... sn
.
Returns WHERE s1 AND s2 AND ... sn
or the empty sql if ss
is empty.
Returns WHERE s1 AND s2 AND ... sn
or the empty sql if ss
is empty.
Attributes
- Source
- HelperFunctionsSyntax.scala
Returns WHERE s1 AND s2 AND ... sn
for defined s
, if any, otherwise the empty sql.
Returns WHERE s1 AND s2 AND ... sn
for defined s
, if any, otherwise the empty sql.
Attributes
- Source
- HelperFunctionsSyntax.scala
Returns WHERE s1 AND s2 AND ... sn
if collection is not empty. If collection is empty returns an empty sql.
Returns WHERE s1 AND s2 AND ... sn
if collection is not empty. If collection is empty returns an empty sql.
Attributes
- Source
- HelperFunctionsSyntax.scala
Returns WHERE s1 OR s2 OR ... sn
.
Returns WHERE s1 OR s2 OR ... sn
or the empty sql if ss
is empty.
Returns WHERE s1 OR s2 OR ... sn
or the empty sql if ss
is empty.
Attributes
- Source
- HelperFunctionsSyntax.scala
Returns WHERE s1 OR s2 OR ... sn
for defined s
, if any, otherwise the empty sql.
Returns WHERE s1 OR s2 OR ... sn
for defined s
, if any, otherwise the empty sql.
Attributes
- Source
- HelperFunctionsSyntax.scala
Returns WHERE s1 OR s2 OR ... sn
if collection is not empty. If collection is empty returns an empty sql.
Returns WHERE s1 OR s2 OR ... sn
if collection is not empty. If collection is empty returns an empty sql.
Attributes
- Source
- HelperFunctionsSyntax.scala
Extensions
Inherited extensions
Attributes
- Inherited from:
- StringContextSyntax
- Source
- StringContextSyntax.scala
Attributes
- Inherited from:
- StringContextSyntax
- Source
- StringContextSyntax.scala
Implicits
Implicits
Attributes
- Source
- HelperFunctionsSyntax.scala