scala.slick.driver.BasicInvokerComponent

CountingInsertInvoker

class CountingInsertInvoker[U] extends BasicDriver.InsertInvoker[U] with BasicDriver.FullInsertInvoker[U]

Pseudo-invoker for running INSERT calls and returning affected row counts.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CountingInsertInvoker
  2. FullInsertInvoker
  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 CountingInsertInvoker(unpackable: ShapedValue[_, U])

Type Members

  1. type RetMany = Option[Int]

    Definition Classes
    CountingInsertInvokerInsertInvoker
  2. type RetOne = Int

    Definition Classes
    CountingInsertInvokerInsertInvoker
  3. type RetQuery = Int

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. lazy val builder: BasicDriver.InsertBuilder

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

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

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

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

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

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

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

    Definition Classes
    FullInsertInvoker
  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 insertExpr[TT](c: TT)(implicit shape: Shape[TT, U, _], session: Session): RetQuery

    Definition Classes
    FullInsertInvoker
  18. def insertInvoker: CountingInsertInvoker.this.type

    Definition Classes
    InsertInvoker
  19. lazy val insertResult: InsertBuilderResult

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

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

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

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

    Definition Classes
    Any
  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
    InsertInvoker
  28. def retMany(values: Seq[U], individual: Seq[RetOne]): Some[RetOne]

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

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

    Attributes
    protected
    Definition Classes
    CountingInsertInvokerInsertInvoker
  31. def retQuery(st: Statement, updateCount: Int): Int

    Attributes
    protected
    Definition Classes
    CountingInsertInvokerFullInsertInvoker
  32. def returning[RT, RU](value: RT)(implicit shape: Shape[RT, RU, _]): BasicDriver.KeysInsertInvoker[U, RU]

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

    Definition Classes
    AnyRef
  34. def toString(): String

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

    Definition Classes
    InsertInvoker
  36. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  38. 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