ppx_rapper icon indicating copy to clipboard operation
ppx_rapper copied to clipboard

Example with multiple joins.

Open rawleyfowler opened this issue 1 year ago • 0 comments

It would be nice to have an example of how to use Rapper.load_many with multiple joins. For example:

SELECT @string{topic.name}, @string{topic.slug},
       @string{post.id}, @string{post.title}, @string{post.content},
       @string{usr.name}, @int{usr.reputation}
FROM board
JOIN post ON post.topic = topic.id
JOIN usr ON usr.id = post.creator
WHERE topic.id = @string{topic.id};

rawleyfowler avatar Dec 03 '22 03:12 rawleyfowler