In slick (1.0), what is the difference between doing .where()
, .filter()
and .withFilter()
on a Table?
In the API they have similar signature but it's not clear how they differ:
def filter[T] (f: (E) ⇒ T)(implicit wt: CanBeQueryCondition[T]): Query[E, U]
def where[T <: Column[_]](f: (E) ⇒ T)(implicit arg0: CanBeQueryCondition[T]): Query[E, U]
def withFilter[T] (f: (E) ⇒ T)(implicit arg0: CanBeQueryCondition[T]): Query[E, U]