feat: row count in sql editor result

pull/170/head
Valentin271 1 year ago
parent 49b7b1a315
commit 0d66b73bb8
No known key found for this signature in database
GPG Key ID: 77B4667C08D99D91

@ -269,8 +269,9 @@ impl Component for SqlEditorComponent {
database,
table,
} => {
// TODO
self.table.update(rows, None, headers, database, table);
let total_rows = rows.len();
self.table
.update(rows, Some(total_rows), headers, database, table);
self.focus = Focus::Table;
self.query_result = None;
}

Loading…
Cancel
Save