SQLSyntax

scalikejdbc.interpolation.SQLSyntax
See theSQLSyntax companion object
class SQLSyntax

Value as a part of SQL syntax.

This value won't be treated as a binding parameter but will be appended as a part of SQL.

Note: The constructor should NOT be used by library users at the considerable risk of SQL injection vulnerability. https://github.com/scalikejdbc/scalikejdbc/issues/116

Attributes

Companion
object
Source
SQLSyntax.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def +(syntax: SQLSyntax): SQLSyntax

Attributes

Source
SQLSyntax.scala
def ->[A](value: A)(implicit ev: ParameterBinderFactory[A]): (SQLSyntax, ParameterBinder)

Attributes

Source
SQLSyntax.scala

Attributes

Source
SQLSyntax.scala
def and: SQLSyntax

Attributes

Source
SQLSyntax.scala
def and(sqlPart: SQLSyntax): SQLSyntax

Attributes

Source
SQLSyntax.scala
def and(andOpt: Option[SQLSyntax]): SQLSyntax

Attributes

Source
SQLSyntax.scala
def append(syntax: SQLSyntax): SQLSyntax

Attributes

Source
SQLSyntax.scala
def asc: SQLSyntax

Attributes

Source
SQLSyntax.scala
def between[A, B, C](a: A, b: B, c: C)(implicit ev1: ParameterBinderFactory[A], ev2: ParameterBinderFactory[B], ev3: ParameterBinderFactory[C]): SQLSyntax

Attributes

Source
SQLSyntax.scala

Attributes

Source
SQLSyntax.scala
def eq[A](column: SQLSyntax, value: A)(implicit ev: ParameterBinderFactory[A]): SQLSyntax

Attributes

Source
SQLSyntax.scala
override def equals(that: Any): Boolean

Compares the receiver object (this) with the argument object (that) for equivalence.

Compares the receiver object (this) with the argument object (that) for equivalence.

Any implementation of this method should be an equivalence relation:

  • It is reflexive: for any instance x of type Any, x.equals(x) should return true.
  • It is symmetric: for any instances x and y of type Any, x.equals(y) should return true if and only if y.equals(x) returns true.
  • It is transitive: for any instances x, y, and z of type Any if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.

If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode to ensure that objects which are "equal" (o1.equals(o2) returns true) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)).

Value parameters

that

the object to compare against this object for equality.

Attributes

Returns

true if the receiver object is equivalent to the argument; false otherwise.

Definition Classes
Any
Source
SQLSyntax.scala
def exists(sqlPart: SQLSyntax): SQLSyntax

Attributes

Source
SQLSyntax.scala
def ge[A](column: SQLSyntax, value: A)(implicit ev: ParameterBinderFactory[A]): SQLSyntax

Attributes

Source
SQLSyntax.scala
def groupBy(columns: SQLSyntax*): SQLSyntax

Attributes

Source
SQLSyntax.scala
def gt[A](column: SQLSyntax, value: A)(implicit ev: ParameterBinderFactory[A]): SQLSyntax

Attributes

Source
SQLSyntax.scala
override def hashCode: Int

Calculate a hash code value for the object.

Calculate a hash code value for the object.

The default hashing algorithm is platform dependent.

Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

Attributes

Returns

the hash code value for this object.

Definition Classes
Any
Source
SQLSyntax.scala
def having(condition: SQLSyntax): SQLSyntax

Attributes

Source
SQLSyntax.scala
def in[A](column: SQLSyntax, values: Seq[A])(implicit ev: ParameterBinderFactory[A]): SQLSyntax

Attributes

Source
SQLSyntax.scala
def in(column: SQLSyntax, subQuery: SQLSyntax): SQLSyntax

Attributes

Source
SQLSyntax.scala
def in[A, B](columns: (SQLSyntax, SQLSyntax), valueSeqs: Seq[(A, B)])(implicit ev1: ParameterBinderFactory[A], ev2: ParameterBinderFactory[B]): SQLSyntax

Attributes

Source
SQLSyntax.scala
def in[A, B, C](columns: (SQLSyntax, SQLSyntax, SQLSyntax), valueSeqs: Seq[(A, B, C)])(implicit ev1: ParameterBinderFactory[A], ev2: ParameterBinderFactory[B], ev3: ParameterBinderFactory[C]): SQLSyntax

Attributes

Source
SQLSyntax.scala
def in[A, B, C, D](columns: (SQLSyntax, SQLSyntax, SQLSyntax, SQLSyntax), valueSeqs: Seq[(A, B, C, D)])(implicit ev1: ParameterBinderFactory[A], ev2: ParameterBinderFactory[B], ev3: ParameterBinderFactory[C], ev4: ParameterBinderFactory[D]): SQLSyntax

Attributes

Source
SQLSyntax.scala
def in[A, B, C, D, E](columns: (SQLSyntax, SQLSyntax, SQLSyntax, SQLSyntax, SQLSyntax), valueSeqs: Seq[(A, B, C, D, E)])(implicit ev1: ParameterBinderFactory[A], ev2: ParameterBinderFactory[B], ev3: ParameterBinderFactory[C], ev4: ParameterBinderFactory[D], ev5: ParameterBinderFactory[E]): SQLSyntax

Attributes

Source
SQLSyntax.scala
def isNotNull(column: SQLSyntax): SQLSyntax

Attributes

Source
SQLSyntax.scala
def isNull(column: SQLSyntax): SQLSyntax

Attributes

Source
SQLSyntax.scala
def le[A](column: SQLSyntax, value: A)(implicit ev: ParameterBinderFactory[A]): SQLSyntax

Attributes

Source
SQLSyntax.scala
def like(column: SQLSyntax, value: String): SQLSyntax

Attributes

Source
SQLSyntax.scala
def limit(n: Int): SQLSyntax

Attributes

Source
SQLSyntax.scala
def lower(column: SQLSyntax): SQLSyntax

Attributes

Source
SQLSyntax.scala
def lt[A](column: SQLSyntax, value: A)(implicit ev: ParameterBinderFactory[A]): SQLSyntax

Attributes

Source
SQLSyntax.scala
def ne[A](column: SQLSyntax, value: A)(implicit ev: ParameterBinderFactory[A]): SQLSyntax

Attributes

Source
SQLSyntax.scala
def notBetween[A, B, C](a: A, b: B, c: C)(implicit ev1: ParameterBinderFactory[A], ev2: ParameterBinderFactory[B], ev3: ParameterBinderFactory[C]): SQLSyntax

Attributes

Source
SQLSyntax.scala
def notExists(sqlPart: SQLSyntax): SQLSyntax

Attributes

Source
SQLSyntax.scala
def notIn[A](column: SQLSyntax, values: Seq[A])(implicit ev: ParameterBinderFactory[A]): SQLSyntax

Attributes

Source
SQLSyntax.scala
def notIn(column: SQLSyntax, subQuery: SQLSyntax): SQLSyntax

Attributes

Source
SQLSyntax.scala
def notIn[A, B](columns: (SQLSyntax, SQLSyntax), valueSeqs: Seq[(A, B)])(implicit ev1: ParameterBinderFactory[A], ev2: ParameterBinderFactory[B]): SQLSyntax

Attributes

Source
SQLSyntax.scala
def notIn[A, B, C](columns: (SQLSyntax, SQLSyntax, SQLSyntax), valueSeqs: Seq[(A, B, C)])(implicit ev1: ParameterBinderFactory[A], ev2: ParameterBinderFactory[B], ev3: ParameterBinderFactory[C]): SQLSyntax

Attributes

Source
SQLSyntax.scala
def notIn[A, B, C, D](columns: (SQLSyntax, SQLSyntax, SQLSyntax, SQLSyntax), valueSeqs: Seq[(A, B, C, D)])(implicit ev1: ParameterBinderFactory[A], ev2: ParameterBinderFactory[B], ev3: ParameterBinderFactory[C], ev4: ParameterBinderFactory[D]): SQLSyntax

Attributes

Source
SQLSyntax.scala
def notIn[A, B, C, D, E](columns: (SQLSyntax, SQLSyntax, SQLSyntax, SQLSyntax, SQLSyntax), valueSeqs: Seq[(A, B, C, D, E)])(implicit ev1: ParameterBinderFactory[A], ev2: ParameterBinderFactory[B], ev3: ParameterBinderFactory[C], ev4: ParameterBinderFactory[D], ev5: ParameterBinderFactory[E]): SQLSyntax

Attributes

Source
SQLSyntax.scala
def notLike(column: SQLSyntax, value: String): SQLSyntax

Attributes

Source
SQLSyntax.scala
def offset(n: Int): SQLSyntax

Attributes

Source
SQLSyntax.scala
def or: SQLSyntax

Attributes

Source
SQLSyntax.scala
def or(sqlPart: SQLSyntax): SQLSyntax

Attributes

Source
SQLSyntax.scala
def or(orOpt: Option[SQLSyntax]): SQLSyntax

Attributes

Source
SQLSyntax.scala
def orderBy(columns: SQLSyntax*): SQLSyntax

Attributes

Source
SQLSyntax.scala

Attributes

Source
SQLSyntax.scala

Attributes

Source
SQLSyntax.scala
def stripMargin(marginChar: Char): SQLSyntax

Attributes

Source
SQLSyntax.scala
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
SQLSyntax.scala
def upper(column: SQLSyntax): SQLSyntax

Attributes

Source
SQLSyntax.scala

Attributes

Source
SQLSyntax.scala
def where(where: SQLSyntax): SQLSyntax

Attributes

Source
SQLSyntax.scala
def where(whereOpt: Option[SQLSyntax]): SQLSyntax

Attributes

Source
SQLSyntax.scala

Concrete fields

lazy val parameters: Seq[Any]

Attributes

Source
SQLSyntax.scala
val value: String

Attributes

Source
SQLSyntax.scala