feat(query): display total row count in result status bar

Execute COUNT query asynchronously after main query to show total
matching rows. Strip user-supplied LIMIT/OFFSET from count SQL so
the total reflects all rows, not just the limited page.
This commit is contained in:
t8y2 committed 2026-05-28 22:44:13 +08:00
1 parent e15e99aeb5
commit 539faef23d
8 files changed
+43 -1

No files matched your search

+1
View File
@@ -361,6 +361,7 @@ export default {
grid: {
rows: "{count} rows",
totalRows: "Total {count} rows",
totalRowCount: "({count} total)",
rowsAffected: "{count} rows affected",
querySuccess: "Query executed successfully",
noRows: "No data",
+1
View File
@@ -354,6 +354,7 @@ export default {
grid: {
rows: "{count} filas",
totalRows: "Total {count} filas",
totalRowCount: "({count} en total)",
rowsAffected: "{count} filas afectadas",
querySuccess: "Consulta ejecutada exitosamente",
noRows: "Sin datos",
+1
View File
@@ -357,6 +357,7 @@ export default {
grid: {
rows: "{count} 行",
totalRows: "共 {count} 行",
totalRowCount: "(总计 {count} 行)",
rowsAffected: "影响 {count} 行",
querySuccess: "查询执行成功",
noRows: "暂无数据",