This is a wrapper clause for primary conditions.
This is a wrapper clause for primary conditions. They wrap the Clause used in a "WHERE" or "AND" query.
Only indexed columns can produce a QueryCondition via "WHERE" and "AND" operators.
The clause to use.
This is wrapper clause for non-primary conditionals, the "onlyIf" part of CQL query.
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.
The class owning the table.
The record type to store.