-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DDINGI-1306: Revised Data Paging/Totals #426
DDINGI-1306: Revised Data Paging/Totals #426
Conversation
query/collection_operators.proto
Outdated
//The bool value enables/disables the record count. | ||
//The default setting disables the record count. | ||
bool is_total_size = 4; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about this ? cc @pnagaraj80
//The bool value enables/disables the record count. | |
//The default setting disables the record count. | |
bool is_total_size = 4; | |
// The bool value enables/disables the record count. | |
// The default setting disables the record count. | |
bool is_total_size_required = 4; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chinmayb - This is not a required field. since we are using 'total_size' in PageInfo it better to keep 'is_total_size' here as well.
As comment says it is just to enable or disable the record count.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for comment space will modify it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the user is requesting the total count or not, hence I was asking that way. It doesn't indicate that its a required field or anything. More like
bool is_total_size_needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure
query/collection_operators.proto
Outdated
//Resultset record count. | ||
int64 total_size = 4; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
//Resultset record count. | |
int64 total_size = 4; | |
// total_size indicates the total records present. | |
int64 total_size = 4; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure will modify
DDINGI-1306: Revised Data Paging/Totals
Enhancement to the existing pagination with resultset count with enable/disable count feature.