case class UpsertExpr(updateExpr: Expr, insertExpr: Expr) extends BaseExpr with Product with Serializable
Try to execute
updateExpr
and if no rows affected execute
insertExpr
Expression is built from macros to ensure ORT one to one relationship setting
updateExpr }}} Expression is built from macros to ensure ORT one to one relationship setting
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- UpsertExpr
- Serializable
- Serializable
- Product
- Equals
- BaseExpr
- PrimitiveExpr
- Expr
- Function0
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(): Any
- Definition Classes
- UpsertExpr → BaseExpr → Expr → Function0
- def apply(params: Map[String, Any]): Any
-
def
apply(params: Seq[Any]): Any
- Definition Classes
- Expr
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
builder: Query
- Definition Classes
- PrimitiveExpr → Expr
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def close: Unit
-
def
defaultSQL: String
- Definition Classes
- UpsertExpr → Expr
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
exprType: Class[_]
- Definition Classes
- Expr
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val insertExpr: Expr
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
sql: String
- Definition Classes
- Expr
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Expr → Function0 → AnyRef → Any
- val updateExpr: Expr
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()