skinny.orm.feature.NoIdCUDFeature

UpdateOperationBuilder

class UpdateOperationBuilder extends AnyRef

Update query builder/executor.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. UpdateOperationBuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UpdateOperationBuilder(mapper: NoIdCUDFeature[Entity], where: scalikejdbc.SQLSyntax, beforeHandlers: Seq[(DBSession, scalikejdbc.SQLSyntax, Seq[(scalikejdbc.SQLSyntax, Any)]) ⇒ Unit], afterHandlers: Seq[(DBSession, scalikejdbc.SQLSyntax, Seq[(scalikejdbc.SQLSyntax, Any)], Int) ⇒ Unit])

    mapper

    mapper

    where

    condition

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. def addAttributeToBeUpdated(namedValue: (scalikejdbc.SQLSyntax, Any)): UpdateOperationBuilder

    Adds new attribute to be updated.

    Adds new attribute to be updated.

    namedValue

    named value

    returns

    self

  7. def addUpdateSQLPart(queryPart: scalikejdbc.SQLSyntax): UpdateOperationBuilder

    Adds new query part.

    Adds new query part.

    queryPart

    query part

    returns

    self

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  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( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  16. def mergeAdditionalUpdateSQLs(queryBuilder: scalikejdbc.UpdateSQLBuilder, othersAreEmpty: Boolean): scalikejdbc.UpdateSQLBuilder

    Merges additional query parts.

    Merges additional query parts.

    queryBuilder

    query builder

    othersAreEmpty

    other attributes to be updated is empty if true

    returns

    query builder

    Attributes
    protected
  17. def mergeNamedValues(namedValues: Seq[(scalikejdbc.SQLSyntax, Any)]): Seq[(scalikejdbc.SQLSyntax, Any)]

    Merges already registered attributes to be updated and parameters.

    Merges already registered attributes to be updated and parameters.

    namedValues

    named values

    returns

    merged attributes

    Attributes
    protected
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toNamedValuesToBeUpdated(strongParameters: PermittedStrongParameters): Seq[(scalikejdbc.SQLSyntax, Any)]

    Converts permitted strong parameters to named values.

    Converts permitted strong parameters to named values.

    strongParameters

    permitted parameters

    returns

    named values

    Attributes
    protected
  23. def toString(): String

    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def withAttributes(parameters: (Symbol, Any)*)(implicit s: DBSession = autoSession): Int

    Updates entities with these non-permitted parameters.

    Updates entities with these non-permitted parameters.

    CAUTION: If you use this method in some web apps, you might have mass assignment vulnerability.

    parameters

    unsafe parameters

    s

    db session

    returns

    updated count

  28. def withNamedValues(namedValues: (scalikejdbc.SQLSyntax, Any)*)(implicit s: DBSession = autoSession): Int

    Updates entities with named values.

    Updates entities with named values.

    namedValues

    named values

    s

    db session

    returns

    updated count

  29. def withPermittedAttributes(strongParameters: PermittedStrongParameters)(implicit s: DBSession = autoSession): Int

    Updates entities with these permitted strong parameters.

    Updates entities with these permitted strong parameters.

    strongParameters

    permitted strong parameters

    s

    db session

    returns

    updated count

Inherited from AnyRef

Inherited from Any

Ungrouped