github.com/ydb-platform/ydb-go-sdk/v3@v3.57.0/table/result/set.go (about)

     1  package result
     2  
     3  import "github.com/ydb-platform/ydb-go-sdk/v3/table/options"
     4  
     5  type Set interface {
     6  	// ColumnCount returns number of columns in the current result set.
     7  	ColumnCount() int
     8  
     9  	// Columns allows to iterate over all columns of the current result set.
    10  	Columns(it func(options.Column))
    11  
    12  	// RowCount returns number of rows in the result set.
    13  	RowCount() int
    14  
    15  	// ItemCount returns number of items in the current row.
    16  	ItemCount() int
    17  
    18  	// Truncated returns true if current result set has been truncated by server
    19  	Truncated() bool
    20  }