appendClause
Appends a clause where its body carries anything, and does nothing where it does not.
The whole of how an optional clause disappears: where(null) and where("") both leave no WHERE behind, which is what lets a filter assembled at runtime be passed straight in.