- {{ $t('word.results') }}: {{ results[0].rows.length }}
+ {{ $t('word.results') }}: {{ results[0].rows.length.toLocaleString() }}
+
+
+ {{ $t('word.total') }}: {{ tableInfo.rows.toLocaleString() }} ({{ $t('word.approximately') }})
{{ $t('word.schema') }}: {{ workspace.breadcrumbs.database }}
@@ -117,6 +120,9 @@ export default {
},
keyUsage () {
return this.results.length ? this.results[0].keys : [];
+ },
+ tableInfo () {
+ return this.workspace.structure.find(db => db.name === this.schema).tables.find(table => table.name === this.table);
}
},
watch: {
diff --git a/src/renderer/i18n/en-US.js b/src/renderer/i18n/en-US.js
index dafee136..dfda9449 100644
--- a/src/renderer/i18n/en-US.js
+++ b/src/renderer/i18n/en-US.js
@@ -55,7 +55,10 @@ module.exports = {
order: 'Order',
expression: 'Expression',
autoIncrement: 'Auto Increment',
- engine: 'Engine'
+ engine: 'Engine',
+ field: 'Field | Fields',
+ approximately: 'Approximately',
+ total: 'Total'
},
message: {
appWelcome: 'Welcome to Antares SQL Client!',