Skip to content

Commit

Permalink
DDINGI-1306: Revised Data Paging/Totals
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramky-Infoblox committed Nov 13, 2024
1 parent 140df20 commit 972b2c9
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 75 deletions.
171 changes: 96 additions & 75 deletions query/collection_operators.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions query/collection_operators.proto
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ message Pagination {
// The service may impose maximum value.
// If omitted the service may impose a default value.
int32 limit = 3;
//The bool value enables/disables the record count.
//The default setting disables the record count.
bool is_total_size = 4;
}

// PageInfo represents both server-driven and client-driven pagination response.
Expand All @@ -220,6 +223,8 @@ message PageInfo {
// The service may optionally include the offset of the next page of resources.
// A null value indicates no more pages.
int32 offset = 3;
//Resultset record count.
int64 total_size = 4;
}

// Searching represents search by.
Expand Down

0 comments on commit 972b2c9

Please sign in to comment.