Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNilResult = errors.New("chDB C function returned nil pointer")
ErrNilResult is returned when the C function returns a nil pointer.
Functions ¶
This section is empty.
Types ¶
type ChdbError ¶
type ChdbError struct {
// contains filtered or unexported fields
}
ChdbError is returned when the C function returns an error.
type LocalResult ¶
type LocalResult struct {
// contains filtered or unexported fields
}
LocalResult mirrors the C struct local_result_v2 in Go.
func QueryStable ¶
func QueryStable(argc int, argv []string) (result *LocalResult, err error)
QueryStable calls the C function query_stable_v2.
func (*LocalResult) Buf ¶
func (r *LocalResult) Buf() []byte
Accessor methods to access fields of the local_result_v2 struct.
func (*LocalResult) BytesRead ¶
func (r *LocalResult) BytesRead() uint64
func (*LocalResult) Elapsed ¶
func (r *LocalResult) Elapsed() float64
func (*LocalResult) Len ¶
func (r *LocalResult) Len() int
func (*LocalResult) RowsRead ¶
func (r *LocalResult) RowsRead() uint64
Click to show internal directories.
Click to hide internal directories.