case classSecondaryQueryCondition(clause: Clause) extends Product with Serializable
This is wrapper clause for non-primary conditionals, the "onlyIf" part of CQL query.
It's used to enable queries such as "Records.update.where(_.bla eqs bla).onlyIf(_.someRecord eqs "something")
Even if they both wrap a Clause, QueryCondition and SecondaryCondition are not interchangeable.
This is because using an indexed column in an "onlyIf" query throws an error, and this we can prevent it.
clause
The clause to use.
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
This is wrapper clause for non-primary conditionals, the "onlyIf" part of CQL query. It's used to enable queries such as "Records.update.where(_.bla eqs bla).onlyIf(_.someRecord eqs "something")
Even if they both wrap a Clause, QueryCondition and SecondaryCondition are not interchangeable. This is because using an indexed column in an "onlyIf" query throws an error, and this we can prevent it.
The clause to use.