Trait/Object

doobie.util.update

Update

Related Docs: object Update | package update

Permalink

trait Update[A] extends AnyRef

An update parameterized by some input type A. This is the type constructed by the sql interpolator.

Self Type
Update[A]
Source
update.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. Update
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val logHandler: doobie.LogHandler

    Permalink
    Attributes
    protected
  2. abstract val pos: Option[Pos]

    Permalink

    An optional Pos indicating the source location where this Update was constructed.

    An optional Pos indicating the source location where this Update was constructed. This is used only for diagnostic purposes.

  3. abstract val sql: String

    Permalink

    The SQL string.

  4. implicit abstract val write: Write[A]

    Permalink
    Attributes
    protected

Concrete 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. def analysis: doobie.ConnectionIO[Analysis]

    Permalink

    Program to construct an analysis of this query's SQL statement and asserted parameter types.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def contramap[C](f: (C) ⇒ A): Update[C]

    Permalink

    Update is a contravariant functor.

  8. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  17. def run(a: A): doobie.ConnectionIO[Int]

    Permalink

    Construct a program to execute the update and yield a count of affected rows, given the writable argument a.

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

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  20. def toUpdate0(a: A): Update0

    Permalink

    Apply an argument, yielding a residual Update0.

  21. def updateMany[F[_]](fa: F[A])(implicit arg0: Foldable[F]): doobie.ConnectionIO[Int]

    Permalink

    Program to execute a batch update and yield a count of affected rows.

    Program to execute a batch update and yield a count of affected rows. Note that failed updates are not reported (see https://github.com/tpolecat/doobie/issues/706). This API is likely to change.

  22. def updateManyWithGeneratedKeys[K](columns: String*): UpdateManyWithGeneratedKeysPartiallyApplied[A, K]

    Permalink

    Construct a stream that performs a batch update as with updateMany, yielding generated keys of readable type K, identified by the specified columns.

    Construct a stream that performs a batch update as with updateMany, yielding generated keys of readable type K, identified by the specified columns. Note that not all drivers support generated keys, and some support only a single key column.

  23. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def withGeneratedKeys[K](columns: String*)(a: A)(implicit arg0: Read[K]): Stream[doobie.ConnectionIO, K]

    Permalink

    Construct a stream that performs the update, yielding generated keys of readable type K, identified by the specified columns, given a writable argument a.

    Construct a stream that performs the update, yielding generated keys of readable type K, identified by the specified columns, given a writable argument a. Note that not all drivers support generated keys, and some support only a single key column.

  27. def withGeneratedKeysWithChunkSize[K](columns: String*)(a: A, chunkSize: Int)(implicit arg0: Read[K]): Stream[doobie.ConnectionIO, K]

    Permalink

    Construct a stream that performs the update, yielding generated keys of readable type K, identified by the specified columns, given a writable argument a and chunkSize.

    Construct a stream that performs the update, yielding generated keys of readable type K, identified by the specified columns, given a writable argument a and chunkSize. Note that not all drivers support generated keys, and some support only a single key column.

  28. def withUniqueGeneratedKeys[K](columns: String*)(a: A)(implicit arg0: Read[K]): doobie.ConnectionIO[K]

    Permalink

    Construct a program that performs the update, yielding a single set of generated keys of readable type K, identified by the specified columns, given a writable argument a.

    Construct a program that performs the update, yielding a single set of generated keys of readable type K, identified by the specified columns, given a writable argument a. Note that not all drivers support generated keys, and some support only a single key column.

Inherited from AnyRef

Inherited from Any

Diagnostics

Execution

Transformations

Ungrouped