Patrick Mooney
Results
1
comments of
Patrick Mooney
Current solution: ``` WITH a_res AS ( SELECT to_jsonb(${"a"}.*) AS result, "bId" FROM ${"a"} WHERE ${aWhere} LIMIT 1 ) SELECT a_res.result FROM a_res JOIN ${"b"} ON ${"b"}.${"id"} = a_res."bId" AND...