You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of the Rows methods return data this is only available after iterating the entire result set. This has lead to several bug reports, because it's not very intuitive.
Perhaps a new method can be added that returns these values while closing the iterator. Perhaps `Finish() would be a good name?
// ResultMetadata contains metadata about certain queries.typeResultMetadatastruct {
Offsetint64TotalRowsint64UpdateSeqstringWarningstringQueryIndexintBookmarkstring
}
// Finish iterates through any remaining items in the iterator, and collects summary metadata, then closes the iterator.func (*Rows) Finish() (ResultMetadata, error)
The text was updated successfully, but these errors were encountered:
Some of the Rows methods return data this is only available after iterating the entire result set. This has lead to several bug reports, because it's not very intuitive.
Perhaps a new method can be added that returns these values while closing the iterator. Perhaps `Finish() would be a good name?
The text was updated successfully, but these errors were encountered: