Packages

class UpsertBuilder extends JdbcProfile.InsertBuilder

Builder for upsert statements, builds standard SQL MERGE statements by default.

Source
JdbcStatementBuilderComponent.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UpsertBuilder
  2. InsertBuilder
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new UpsertBuilder(ins: Insert)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from JdbcProfile.UpsertBuilder toany2stringadd[JdbcProfile.UpsertBuilder] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (JdbcProfile.UpsertBuilder, B)
    Implicit
    This member is added by an implicit conversion from JdbcProfile.UpsertBuilder toArrowAssoc[JdbcProfile.UpsertBuilder] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. val allFields: ConstArray[FieldSymbol]
    Attributes
    protected
    Definition Classes
    InsertBuilder
  7. lazy val allNames: ConstArray[String]
    Attributes
    protected
    Definition Classes
    InsertBuilder
  8. lazy val allVars: String
    Attributes
    protected
    Definition Classes
    InsertBuilder
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def buildInsert: InsertBuilderResult
    Definition Classes
    UpsertBuilderInsertBuilder
  11. def buildInsertStart: String
    Attributes
    protected
    Definition Classes
    InsertBuilder
  12. def buildMergeEnd: String
    Attributes
    protected
  13. def buildMergeStart: String
    Attributes
    protected
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  15. def emptyInsert: String
    Attributes
    protected
    Definition Classes
    InsertBuilder
  16. def ensuring(cond: (JdbcProfile.UpsertBuilder) => Boolean, msg: => Any): JdbcProfile.UpsertBuilder
    Implicit
    This member is added by an implicit conversion from JdbcProfile.UpsertBuilder toEnsuring[JdbcProfile.UpsertBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: (JdbcProfile.UpsertBuilder) => Boolean): JdbcProfile.UpsertBuilder
    Implicit
    This member is added by an implicit conversion from JdbcProfile.UpsertBuilder toEnsuring[JdbcProfile.UpsertBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean, msg: => Any): JdbcProfile.UpsertBuilder
    Implicit
    This member is added by an implicit conversion from JdbcProfile.UpsertBuilder toEnsuring[JdbcProfile.UpsertBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean): JdbcProfile.UpsertBuilder
    Implicit
    This member is added by an implicit conversion from JdbcProfile.UpsertBuilder toEnsuring[JdbcProfile.UpsertBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. val ins: Insert
    Definition Classes
    InsertBuilder
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. lazy val nonAutoIncNames: ConstArray[String]
    Attributes
    protected
  28. lazy val nonAutoIncSyms: ConstArray[FieldSymbol]
    Attributes
    protected
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. lazy val pkNames: IndexedSeq[String]
    Attributes
    protected
  32. lazy val pkSyms: IndexedSeq[FieldSymbol]
    Attributes
    protected
  33. val rawColumns: ConstArray[Node]
    Attributes
    protected
    Definition Classes
    InsertBuilder
  34. def reorderColumns(n: Node, order: IndexedSeq[FieldSymbol]): Node

    Reorder InsertColumn indices in a mapping Node in the order of the given sequence of FieldSymbols (which may contain duplicates).

    Reorder InsertColumn indices in a mapping Node in the order of the given sequence of FieldSymbols (which may contain duplicates).

    Attributes
    protected
    Definition Classes
    InsertBuilder
  35. lazy val softNames: IndexedSeq[String]
    Attributes
    protected
  36. lazy val softSyms: IndexedSeq[FieldSymbol]
    Attributes
    protected
  37. val syms: ConstArray[FieldSymbol]
    Attributes
    protected
    Definition Classes
    InsertBuilder
  38. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  39. val table: TableNode
    Attributes
    protected
    Definition Classes
    InsertBuilder
  40. lazy val tableName: String
    Attributes
    protected
    Definition Classes
    InsertBuilder
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. def transformMapping(n: Node): Node
    Definition Classes
    InsertBuilder
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from JdbcProfile.UpsertBuilder toStringFormat[JdbcProfile.UpsertBuilder] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (JdbcProfile.UpsertBuilder, B)
    Implicit
    This member is added by an implicit conversion from JdbcProfile.UpsertBuilder toArrowAssoc[JdbcProfile.UpsertBuilder] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromJdbcProfile.UpsertBuilder to any2stringadd[JdbcProfile.UpsertBuilder]

Inherited by implicit conversion StringFormat fromJdbcProfile.UpsertBuilder to StringFormat[JdbcProfile.UpsertBuilder]

Inherited by implicit conversion Ensuring fromJdbcProfile.UpsertBuilder to Ensuring[JdbcProfile.UpsertBuilder]

Inherited by implicit conversion ArrowAssoc fromJdbcProfile.UpsertBuilder to ArrowAssoc[JdbcProfile.UpsertBuilder]

Ungrouped