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

Type Members

  1. abstract type I

    Permalink
    Attributes
    protected

Abstract Value Members

  1. abstract val ai: (A) ⇒ I

    Permalink
    Attributes
    protected
  2. implicit abstract val ic: composite.Composite[I]

    Permalink
    Attributes
    protected
  3. abstract val logHandler: log.LogHandler

    Permalink
    Attributes
    protected
  4. 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.

  5. abstract val sql: String

    Permalink

    The SQL string.

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: free.connection.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): free.connection.ConnectionIO[Int]

    Permalink

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

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

    Permalink
    Definition Classes
    AnyRef
  19. def toFragment(a: A): fragment.Fragment

    Permalink

    Turn this Update into a Fragment, given an argument.

  20. def toString(): String

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

    Permalink

    Apply an argument, yielding a residual Update0.

  22. def updateMany[F[_]](fa: F[A])(implicit arg0: Foldable[F]): free.connection.ConnectionIO[Int]

    Permalink

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

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

    Permalink

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

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

  24. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def withGeneratedKeys[K](columns: String*)(a: A)(implicit arg0: composite.Composite[K]): Stream[free.connection.ConnectionIO, K]

    Permalink

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

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

  28. def withGeneratedKeysWithChunkSize[K](columns: String*)(a: A, chunkSize: Int)(implicit arg0: composite.Composite[K]): Stream[free.connection.ConnectionIO, K]

    Permalink

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

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

  29. def withUniqueGeneratedKeys[K](columns: String*)(a: A)(implicit arg0: composite.Composite[K]): free.connection.ConnectionIO[K]

    Permalink

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

    Construct a program that performs the update, yielding a single set of generated keys of composite type K, identified by the specified columns, given a composite 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