scala.slick.driver.BasicInvokerComponent

KeysInsertInvoker

class KeysInsertInvoker[U, RU] extends BasicDriver.AbstractKeysInsertInvoker[U, RU] with BasicDriver.FullInsertInvoker[U]

Pseudo-invoker for running INSERT calls and returning generated keys.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. KeysInsertInvoker
  2. FullInsertInvoker
  3. AbstractKeysInsertInvoker
  4. InsertInvoker
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new KeysInsertInvoker(unpackable: ShapedValue[_, U], keys: ShapedValue[_, RU])

Type Members

  1. type RetMany = collection.Seq[RU]

    Definition Classes
    KeysInsertInvokerInsertInvoker
  2. type RetOne = RU

    Definition Classes
    KeysInsertInvokerInsertInvoker
  3. type RetQuery = collection.Seq[RU]

    Definition Classes
    KeysInsertInvokerFullInsertInvoker

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def buildKeysResult(st: Statement): UnitInvoker[RU]

    Attributes
    protected
    Definition Classes
    AbstractKeysInsertInvoker
  8. lazy val builder: BasicDriver.InsertBuilder

    Attributes
    protected
    Definition Classes
    InsertInvoker
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  15. def insert[TT](query: Query[TT, U])(implicit session: Session): RetQuery

    Definition Classes
    FullInsertInvoker
  16. def insert(value: U)(implicit session: Session): RetOne

    Insert a single row.

    Insert a single row.

    Definition Classes
    InsertInvoker
  17. def insertAll(values: U*)(implicit session: Session): RetMany

    Insert multiple rows.

    Insert multiple rows. Uses JDBC's batch update feature if supported by the JDBC driver. Returns Some(rowsAffected), or None if the database returned no row count for some part of the batch. If any part of the batch fails, an exception is thrown.

    Definition Classes
    InsertInvoker
  18. def insertExpr[TT](c: TT)(implicit shape: Shape[TT, U, _], session: Session): RetQuery

    Definition Classes
    FullInsertInvoker
  19. def insertInvoker: KeysInsertInvoker.this.type

    Definition Classes
    InsertInvoker
  20. lazy val insertResult: InsertBuilderResult

    Attributes
    protected
    Definition Classes
    InsertInvoker
  21. lazy val insertStatement: String

    Definition Classes
    InsertInvoker
  22. def insertStatementFor[TT](c: TT)(implicit shape: Shape[TT, U, _]): String

    Definition Classes
    InsertInvoker
  23. def insertStatementFor[TT](query: Query[TT, U]): String

    Definition Classes
    InsertInvoker
  24. def into[R](f: (U, RU) ⇒ R): BasicDriver.MappedKeysInsertInvoker[U, RU, R]

  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. lazy val keyColumns: Array[String]

    Attributes
    protected
    Definition Classes
    AbstractKeysInsertInvoker
  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. def prepared[T](sql: String)(f: (PreparedStatement) ⇒ T)(implicit session: Session): T

    Attributes
    protected
    Definition Classes
    AbstractKeysInsertInvokerInsertInvoker
  31. def retMany(values: Seq[U], individual: Seq[RetOne]): Seq[RetOne]

    Attributes
    protected
    Definition Classes
    KeysInsertInvokerInsertInvoker
  32. def retManyBatch(st: Statement, values: Seq[U], updateCounts: Array[Int]): Vector[RU]

    Attributes
    protected
    Definition Classes
    KeysInsertInvokerInsertInvoker
  33. def retOne(st: Statement, value: U, updateCount: Int): RU

    Attributes
    protected
    Definition Classes
    KeysInsertInvokerInsertInvoker
  34. def retQuery(st: Statement, updateCount: Int): Vector[RU]

    Attributes
    protected
    Definition Classes
    KeysInsertInvokerFullInsertInvoker
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  36. def toString(): String

    Definition Classes
    AnyRef → Any
  37. def useBatchUpdates(implicit session: Session): Boolean

  38. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from BasicDriver.FullInsertInvoker[U]

Inherited from BasicDriver.InsertInvoker[U]

Inherited from AnyRef

Inherited from Any

Ungrouped