~{result} <- select $ from $ \(~{selectFromVariable}~{concatMap getHandlerJoinDef joins}) -> do