*, count(like.id) AS num_likes FROM post LEFT JOIN like ON post.id = like.post_id GROUP BY post.id;. What's the equivalent SQLAlchemy command? Thanks! Answers.
確定! 回上一頁