Make sure we properly check the columns in the ORDER BY clause when there is a GROUP BY (#27)

This commit is contained in:
Dr. Patrick Urbanke (劉自成)
2025-07-15 22:43:00 +02:00
committed by GitHub
parent 1170f22d69
commit e443cb56e0
5 changed files with 42 additions and 27 deletions

View File

@@ -23,7 +23,7 @@ struct Relationship {
sqlgen::PrimaryKey<uint32_t> child_id;
};
TEST(postgres, test_joins_nested) {
TEST(postgres, test_joins_nested_grouped) {
const auto people1 = std::vector<Person>(
{Person{
.id = 0, .first_name = "Homer", .last_name = "Simpson", .age = 45},