Documentation ¶
Index ¶
- Variables
- type Client
- type Session
- func (s *Session) Begin(ctx context.Context, txSettings query.TransactionSettings) (query.Transaction, error)
- func (s *Session) Close(ctx context.Context) error
- func (s *Session) Execute(ctx context.Context, q string, opts ...options.ExecuteOption) (query.Transaction, query.Result, error)
- func (s *Session) ID() string
- func (s *Session) NodeID() int64
- func (s *Session) Status() query.SessionStatus
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotImplemented = errors.New("not implemented yet")
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (Client) DoTx ¶
func (c Client) DoTx(ctx context.Context, op query.TxOperation, opts ...options.DoTxOption) error
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func (*Session) Begin ¶
func (s *Session) Begin(ctx context.Context, txSettings query.TransactionSettings) (query.Transaction, error)
func (*Session) Status ¶
func (s *Session) Status() query.SessionStatus
Source Files ¶
Click to show internal directories.
Click to hide internal directories.