Skip to content

Commit

Permalink
DDINGI-1306: Revised Data Paging/Totals (infobloxopen#426)
Browse files Browse the repository at this point in the history
* DDINGI-1306: Revised Data Paging/Totals

* dependent files

* comments indentation
  • Loading branch information
Ramky-Infoblox committed Dec 3, 2024
1 parent 794d2b1 commit e27de18
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
19 changes: 19 additions & 0 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_needed = 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;
// total_size indicates the total records present.
int64 total_size = 4;
}


Expand Down

0 comments on commit e27de18

Please sign in to comment.