We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 485fa08 commit 584fe87Copy full SHA for 584fe87
1 file changed
bench/scripts/micro/to_sql_bench.exs
@@ -43,8 +43,8 @@ inputs = %{
43
from(User)
44
|> join(:left, [u], g in Game, on: g.name == u.name)
45
|> join(:right, [g], u in User, on: g.id == 1 and u.email == "email@email")
46
- |> join(:inner, [u], g in fragment("SELECT * from games where game.id = ?", u.id))
47
- |> join(:left, [g], u in fragment("SELECT * from users = ?", g.id))
+ |> join(:inner, [u], g in fragment("SELECT * from games where game.id = ?", u.id), on: true)
+ |> join(:left, [g], u in fragment("SELECT * from users = ?", g.id), on: true)
48
|> select([u, g], {u.name, g.price})}
49
}
50
0 commit comments