Closed Weakky closed 3 years ago
Add joins methods to the Table trait so that joins can be inserted positionally into the Query AST.
Table
This enables, for instance, to render such a query:
SELECT * FROM "User" LEFT JOIN "Post" AS "p" ON "p"."userId" = "User"."id", "Post"
Review fixes: Added docs + whiteline
Overview
Add joins methods to the
Table
trait so that joins can be inserted positionally into the Query AST.This enables, for instance, to render such a query: