You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A scalar value that is known at the client side at the time a query is executed. This is either a constant value (LiteralColumn) or a scalar parameter.
The simple answer is that take (and drop) are only defined in terms of Int, Long and ConstColumn[Long]. And I can use ConstColumn[String] for the name of that paged method.
However, I feel I'm missing something deeper here. We don't seem to say what Rep[T]is.
When should I use a
ConstColumn
and when aRep
?E.g., when compiling a paged query, the
drop
needs to be aConstColumn
. If it's aRep
the error isdrop cannot be applied to a
Rep[Long]`.The text was updated successfully, but these errors were encountered: