Skip to content

Instantly share code, notes, and snippets.

Created February 24, 2020 18:00
What would you like to do?
query =
|> join(:inner, [task], project in Project, on: == task.project_id)
|> join(:inner, [task], user_task in UserTask, on: == user_task.task_id)
|> join(:left, [task], time_track in TimeTracking, on: time_track.task_id ==
|> where(^filter_for_tasks_for_criteria(params))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment