query

package
v1.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQueryService

func NewQueryService(client *grpc.ClientConn) (*queryService, error)

Types

type QueryResponse

type QueryResponse []QueryRow

func (*QueryResponse) Count

func (q *QueryResponse) Count() int

func (*QueryResponse) ForEachRow

func (q *QueryResponse) ForEachRow(fn func(*QueryRow))

func (*QueryResponse) GetRow

func (q *QueryResponse) GetRow(index int) *QueryRow

type QueryRow

type QueryRow map[string]interface{}

func (*QueryRow) ForEachField

func (q *QueryRow) ForEachField(fn func(string, interface{}))

func (*QueryRow) GetField

func (q *QueryRow) GetField(key string) interface{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL