fix(query): enable editing multi-table JOIN result sets

This commit is contained in:
zipg authored and GitHub committed 2026-09-07 00:54:59 +08:00
1 parent 93a4b5803a
commit 14e1d4f25b
16 files changed
+345 -22

No files matched your search

+4 -1
View File
@@ -2360,7 +2360,10 @@ mod tests {
let page_sql = plan.page_sql.expect("pagination plan provides page SQL");
assert!(page_sql.to_uppercase().contains("GROUP BY"));
assert!(page_sql.contains("ORDER BY 1, 2, 3 LIMIT 500;"), "dedup pagination must be appended after the GROUP BY, got: {page_sql}");
assert!(
page_sql.contains("ORDER BY 1, 2, 3 LIMIT 500;"),
"dedup pagination must be appended after the GROUP BY, got: {page_sql}"
);
let count_sql = plan.count_sql.expect("pagination plan provides count SQL");
assert!(count_sql.starts_with("SELECT COUNT(*) AS dbx_total_rows FROM ("));