In this example, the tilde is a combinator that means combine two column results together. When continually chained together like it is for * it means return a result which is all of those columns together as a single result object. It means that there is a function on those column classes called ~
and you are using infix notation and calling it. In actuality it's more like;
columnA.~(columnB)