Documentation
¶
Index ¶
- Variables
- type Config
- type Service
- func (svc *Service) AcquireSession(ctx context.Context) (*session.Session, func(), error)
- func (svc *Service) Close() error
- func (svc *Service) Exec(ctx context.Context, query string, params map[string]*Ydb.TypedValue, ...) (Ydb_Query_V1.QueryService_ExecuteQueryClient, context.CancelFunc, error)
- func (svc *Service) Ready() bool
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoSession = errors.New("no session") ErrExec = errors.New("exec failed") )
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) AcquireSession ¶
func (*Service) Exec ¶
func (svc *Service) Exec( ctx context.Context, query string, params map[string]*Ydb.TypedValue, txSettings *Ydb_Query.TransactionSettings, ) (Ydb_Query_V1.QueryService_ExecuteQueryClient, context.CancelFunc, error)
Exec provides low-level single query execution.
Click to show internal directories.
Click to hide internal directories.