Versions in this module Expand all Collapse all v0 v0.3.1 Jul 6, 2025 Changes in this version + var ErrTypesColumnsLengthViolation = errors.New("types and columns are different lengths") + func NewAssociativeResultRowsFromExecuteQueryResponse(e *proto.ExecuteQueryResponse, bytesAsArray bool) (interface{}, error) + func NewResultRowsFromExecuteQueryResponse(e *proto.ExecuteQueryResponse, bytesAsArray bool) (interface{}, error) + func NewValuesFromQueryValues(dest [][]interface{}, v []*proto.Values, bytesAsArray bool) error + type AssociativeRows struct + Error string + Rows []map[string]interface{} + Time float64 + Types map[string]string + func NewAssociativeRowsFromQueryRows(q *proto.QueryRows, bytesAsArray bool) (*AssociativeRows, error) + type ByteSliceAsArray []byte + func (b ByteSliceAsArray) MarshalJSON() ([]byte, error) + type Encoder struct + Associative bool + BlobsAsByteArrays bool + func (e *Encoder) JSONMarshal(i interface{}) ([]byte, error) + func (e *Encoder) JSONMarshalIndent(i interface{}, prefix, indent string) ([]byte, error) + type Result struct + Error string + LastInsertID int64 + RowsAffected int64 + Time float64 + func NewResultFromExecuteResult(e *proto.ExecuteResult) (*Result, error) + type ResultWithRows struct + Rows []map[string]interface{} + type Rows struct + Columns []string + Error string + Time float64 + Types []string + Values [][]interface{} + func NewRowsFromQueryRows(q *proto.QueryRows, bytesAsArray bool) (*Rows, error)