scala.slick.driver.BasicInvokerComponent

MappedKeysInsertInvoker

class MappedKeysInsertInvoker[U, RU, R] extends BasicDriver.AbstractKeysInsertInvoker[U, RU]

Pseudo-invoker for running INSERT calls and returning generated keys combined with the values.

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

Instance Constructors

  1. new MappedKeysInsertInvoker(unpackable: ShapedValue[_, U], keys: ShapedValue[_, RU], tr: (U, RU) ⇒ R)

Type Members

  1. type RetMany = collection.Seq[R]

    Definition Classes
    MappedKeysInsertInvokerInsertInvoker
  2. type RetOne = R

    Definition Classes
    MappedKeysInsertInvokerInsertInvoker

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(value: U)(implicit session: Session): RetOne

    Insert a single row.

    Insert a single row.

    Definition Classes
    InsertInvoker
  16. 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
  17. def insertInvoker: MappedKeysInsertInvoker.this.type

    Definition Classes
    InsertInvoker
  18. lazy val insertResult: InsertBuilderResult

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

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

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

    Definition Classes
    InsertInvoker
  22. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    MappedKeysInsertInvokerInsertInvoker
  29. def retManyBatch(st: Statement, values: Seq[U], updateCounts: Array[Int]): RetMany

    Attributes
    protected
    Definition Classes
    MappedKeysInsertInvokerInsertInvoker
  30. def retOne(st: Statement, value: U, updateCount: Int): R

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

    Definition Classes
    AnyRef
  32. def toString(): String

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

  34. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from BasicDriver.InsertInvoker[U]

Inherited from AnyRef

Inherited from Any

Ungrouped