Added whereWithParams clause.
Allows the generic usage of functions for the where clause.