Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrColumnNotFound = fmt.Errorf("column not found")
View Source
var ErrIndexOutOfRange = fmt.Errorf("index out of range")
Functions ¶
This section is empty.
Types ¶
type ColumnMetadata ¶
type ColumnMetadata struct { ColumnName string ColumnType sql.ColumnType IsNullable bool }
func (ColumnMetadata) Name ¶
func (c ColumnMetadata) Name() string
func (ColumnMetadata) Nullable ¶
func (c ColumnMetadata) Nullable() bool
func (ColumnMetadata) Type ¶
func (c ColumnMetadata) Type() sql.ColumnType
type QueryID ¶
func NewQueryIDFromUUID ¶
type RowMetadata ¶
type RowMetadata struct {
// contains filtered or unexported fields
}
RowMetadata represents SQL row metadata.
func NewRowMetadata ¶
func NewRowMetadata(columns []sql.ColumnMetadata) RowMetadata
func (RowMetadata) ColumnCount ¶
func (r RowMetadata) ColumnCount() int
func (RowMetadata) Columns ¶
func (r RowMetadata) Columns() []sql.ColumnMetadata
func (RowMetadata) FindColumn ¶
func (r RowMetadata) FindColumn(columnName string) (int, error)
func (RowMetadata) GetColumn ¶
func (r RowMetadata) GetColumn(index int) (sql.ColumnMetadata, error)
Click to show internal directories.
Click to hide internal directories.