Object

com.lucidchart.open.relate

Query

Related Doc: package relate

Permalink

object Query

Provide implicit method calls for syntactic sugar

These functions should be used in the on and expand methods.

import com.lucidchart.open.relate._
import com.lucidchart.open.relate.Query._

SQL("SELECT * FROM users WHERE id={id}").on { implicit query =>
 long("id", 1L)
}

See the Relate Wiki for more information.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Query
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. trait BigDecimalLike[A] extends AnyRef

    Permalink
  2. trait BigIntLike[A] extends AnyRef

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. implicit object BigDecimalWrap extends BigDecimalLike[BigDecimal]

    Permalink
  5. implicit object BigIntWrap extends BigIntLike[BigInt]

    Permalink
  6. implicit object JBigDecimalWrap extends BigDecimalLike[BigDecimal]

    Permalink
  7. implicit object JBigIntWrap extends BigIntLike[BigInteger]

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def bigDecimal(name: String, value: BigDecimal)(implicit stmt: SqlStatement): Unit

    Permalink
  10. def bigDecimal(name: String, value: BigDecimal)(implicit stmt: SqlStatement): Unit

    Permalink
  11. def bigDecimalOption[A](name: String, value: Option[A])(implicit stmt: SqlStatement, bd: BigDecimalLike[A]): Unit

    Permalink
  12. def bigDecimals[X](name: String, values: TraversableOnce[BigDecimal])(implicit arg0: ClassTag[X], stmt: SqlStatement): Unit

    Permalink
  13. def bigDecimals(name: String, values: TraversableOnce[BigDecimal])(implicit stmt: SqlStatement): Unit

    Permalink
  14. def bigInt(name: String, value: BigInteger)(implicit stmt: SqlStatement): Unit

    Permalink
  15. def bigInt(name: String, value: BigInt)(implicit stmt: SqlStatement): Unit

    Permalink
  16. def bigIntOption[A](name: String, value: Option[A])(implicit stmt: SqlStatement, bi: BigIntLike[A]): Unit

    Permalink
  17. def bigInts[X](name: String, values: TraversableOnce[BigInteger])(implicit arg0: ClassTag[X], stmt: SqlStatement): Unit

    Permalink
  18. def bigInts(name: String, values: TraversableOnce[BigInt])(implicit stmt: SqlStatement): Unit

    Permalink
  19. def bool(name: String, value: Boolean)(implicit stmt: SqlStatement): Unit

    Permalink
  20. def boolOption[A](name: String, value: Option[Boolean])(implicit stmt: SqlStatement): Unit

    Permalink
  21. def bools(name: String, values: TraversableOnce[Boolean])(implicit stmt: SqlStatement): Unit

    Permalink
  22. def byte(name: String, value: Byte)(implicit stmt: SqlStatement): Unit

    Permalink
  23. def byteArray(name: String, value: Array[Byte])(implicit stmt: SqlStatement): Unit

    Permalink
  24. def byteArrayOption(name: String, value: Option[Array[Byte]])(implicit stmt: SqlStatement): Unit

    Permalink
  25. def byteOption(name: String, value: Option[Byte])(implicit stmt: SqlStatement): Unit

    Permalink
  26. def bytes(name: String, values: TraversableOnce[Byte])(implicit stmt: SqlStatement): Unit

    Permalink
  27. def char(name: String, value: Char)(implicit stmt: SqlStatement): Unit

    Permalink
  28. def charOption(name: String, value: Option[Char])(implicit stmt: SqlStatement): Unit

    Permalink
  29. def chars(name: String, values: TraversableOnce[Char])(implicit stmt: SqlStatement): Unit

    Permalink
  30. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def commaSeparated(name: String, count: Int)(implicit e: Expandable): Unit

    Permalink
  32. def date(name: String, value: Date)(implicit stmt: SqlStatement): Unit

    Permalink
  33. def dateOption(name: String, value: Option[Date])(implicit stmt: SqlStatement): Unit

    Permalink
  34. def dates(name: String, values: TraversableOnce[Date])(implicit stmt: SqlStatement): Unit

    Permalink
  35. def double(name: String, value: Double)(implicit stmt: SqlStatement): Unit

    Permalink
  36. def doubleOption(name: String, value: Option[Double])(implicit stmt: SqlStatement): Unit

    Permalink
  37. def doubles(name: String, values: TraversableOnce[Double])(implicit stmt: SqlStatement): Unit

    Permalink
  38. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  39. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  40. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  41. def float(name: String, value: Float)(implicit stmt: SqlStatement): Unit

    Permalink
  42. def floatOption(name: String, value: Option[Float])(implicit stmt: SqlStatement): Unit

    Permalink
  43. def floats(name: String, values: TraversableOnce[Float])(implicit stmt: SqlStatement): Unit

    Permalink
  44. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  45. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  46. def int(name: String, value: Int)(implicit stmt: SqlStatement): Unit

    Permalink
  47. def intOption(name: String, value: Option[Int])(implicit stmt: SqlStatement): Unit

    Permalink
  48. def ints(name: String, values: TraversableOnce[Int])(implicit stmt: SqlStatement): Unit

    Permalink
  49. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  50. def long(name: String, value: Long)(implicit stmt: SqlStatement): Unit

    Permalink
  51. def longOption(name: String, value: Option[Long])(implicit stmt: SqlStatement): Unit

    Permalink
  52. def longs(name: String, values: TraversableOnce[Long])(implicit stmt: SqlStatement): Unit

    Permalink
  53. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  54. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  55. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  56. def short(name: String, value: Short)(implicit stmt: SqlStatement): Unit

    Permalink
  57. def shortOption(name: String, value: Option[Short])(implicit stmt: SqlStatement): Unit

    Permalink
  58. def shorts(name: String, values: TraversableOnce[Short])(implicit stmt: SqlStatement): Unit

    Permalink
  59. def string(name: String, value: String)(implicit stmt: SqlStatement): Unit

    Permalink
  60. def stringOption(name: String, value: Option[String])(implicit stmt: SqlStatement): Unit

    Permalink
  61. def strings(name: String, values: TraversableOnce[String])(implicit stmt: SqlStatement): Unit

    Permalink
  62. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  63. def timestamp(name: String, value: Timestamp)(implicit stmt: SqlStatement): Unit

    Permalink
  64. def timestampOption(name: String, value: Option[Timestamp])(implicit stmt: SqlStatement): Unit

    Permalink
  65. def timestamps(name: String, values: TraversableOnce[Timestamp])(implicit stmt: SqlStatement): Unit

    Permalink
  66. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  67. def tupled(name: String, columns: Seq[String], count: Int)(implicit e: Expandable): Unit

    Permalink
  68. def uuid(name: String, value: UUID)(implicit stmt: SqlStatement): Unit

    Permalink
  69. def uuidOption(name: String, value: Option[UUID])(implicit stmt: SqlStatement): Unit

    Permalink
  70. def uuids(name: String, values: TraversableOnce[UUID])(implicit stmt: SqlStatement): Unit

    Permalink
  71. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  72. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped