Skip to content

Commit 0b9543b

Browse files
committed
fix: fetch row count only on initial load, add CHANGELOG entry
1 parent b20dc67 commit 0b9543b

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
- iOS: connection groups and tags
1313
- iOS: Quick Connect Home Screen widget
14+
- iOS: page-based pagination for data browser
1415

1516
## [0.27.4] - 2026-04-05
1617

TableProMobile/TableProMobile/Views/DataBrowserView.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,9 @@ struct DataBrowserView: View {
214214
columns = result.columns
215215
rows = result.rows
216216
columnDetails = try await session.driver.fetchColumns(table: table.name, schema: nil)
217-
await fetchTotalRows(session: session)
217+
if pagination.totalRows == nil {
218+
await fetchTotalRows(session: session)
219+
}
218220
isLoading = false
219221
} catch {
220222
appError = ErrorClassifier.classify(

0 commit comments

Comments
 (0)