Magic sql does not add table name in query?
Here's the sample:
The generated SQL is:
You can see the
${users.logo}
not convert to "users"."logo"
, ${users.id}
not convert to "users"."id"
, which will cause some queries not get the correct result.
How could I solve it? I really don't like the pure SQL like SELECT json_build_object('logo', u.logo) FROM users u
because this lack of IDE support (variables trace).
Thanks.0 Replies