Skip to content

feat(config): add GET schema/tracking for change tracking counts#122

Merged
devlead merged 1 commit intoWCOMAB:mainfrom
devlead:feature/schema/tracking
Mar 24, 2026
Merged

feat(config): add GET schema/tracking for change tracking counts#122
devlead merged 1 commit intoWCOMAB:mainfrom
devlead:feature/schema/tracking

Conversation

@devlead
Copy link
Copy Markdown
Member

@devlead devlead commented Mar 24, 2026

Expose config/{area}/{id}/schema/tracking, returning per configured table the counts of updates, inserts, and deletes from CHANGETABLE(CHANGES …) since the last synced version in sync.TableVersion (NULL when never synced), plus current source and stored target versions.

Add GetChangeTrackingOperationCountsSelectStatement in SqlStatementExtensions, and SchemaTrackingTableRow and ChangeOperationCounts models for the API and Dapper mapping.

Expose config/{area}/{id}/schema/tracking, returning per configured table the
counts of updates, inserts, and deletes from CHANGETABLE(CHANGES …) since the
last synced version in sync.TableVersion (NULL when never synced), plus current
source and stored target versions.

Add GetChangeTrackingOperationCountsSelectStatement in SqlStatementExtensions,
and SchemaTrackingTableRow and ChangeOperationCounts models for the API and
Dapper mapping.
@devlead devlead merged commit bc45fc2 into WCOMAB:main Mar 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant