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:
1 parent
e15e99aeb5
commit
539faef23d
8 files changed
+43
-1
No files matched your search
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -357,6 +357,7 @@ export default {
|
||||
grid: {
|
||||
rows: "{count} 行",
|
||||
totalRows: "共 {count} 行",
|
||||
totalRowCount: "(总计 {count} 行)",
|
||||
rowsAffected: "影响 {count} 行",
|
||||
querySuccess: "查询执行成功",
|
||||
noRows: "暂无数据",
|
||||
|
||||
Reference in new issue
Block a user