c

org.tresql.ORT

LookupUpsertExpr

case class LookupUpsertExpr(objProp: String, idProp: String, upsertExpr: Expr, idSelExpr: Expr) extends BaseExpr with Product with Serializable

Expression is built only from macros to ensure ORT lookup editing. Expression executes

upsertExpr

on

objProp

environment variable which is expected to be

Map[String, Any]

and tries to return id of inserted or updated object.

Map[String, Any] }}}

objProp }}} which is expected to be

Map[String, Any]

and tries to return id of inserted or updated object.

Map[String, Any] }}}

upsertExpr }}} which is expected to be

Map[String, Any]

and tries to return id of inserted or updated object.

Map[String, Any] }}}

Linear Supertypes
Serializable, Serializable, Product, Equals, ORT.BaseExpr, ORT.PrimitiveExpr, Expr, () ⇒ Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LookupUpsertExpr
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. BaseExpr
  7. PrimitiveExpr
  8. Expr
  9. Function0
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LookupUpsertExpr(objProp: String, idProp: String, upsertExpr: Expr, idSelExpr: Expr)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(): Any
    Definition Classes
    LookupUpsertExprBaseExprExpr → Function0
  5. def apply(params: Map[String, Any]): Any
    Definition Classes
    BaseExprExpr
  6. def apply(params: Seq[Any]): Any
    Definition Classes
    Expr
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def builder: Query
    Definition Classes
    PrimitiveExprExpr
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  10. def close: Unit
    Definition Classes
    BaseExprExpr
  11. def defaultSQL: String
    Definition Classes
    LookupUpsertExprExpr
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def exprType: Class[_]
    Definition Classes
    Expr
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. val idProp: String
  16. val idSelExpr: Expr
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. val objProp: String
  22. def sql: String
    Definition Classes
    Expr
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    Expr → Function0 → AnyRef → Any
  25. val upsertExpr: Expr
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ORT.BaseExpr

Inherited from ORT.PrimitiveExpr

Inherited from Expr

Inherited from () ⇒ Any

Inherited from AnyRef

Inherited from Any

Ungrouped